[英]How to display .pgm image in iOS UIImageview?
I have a .pgm
format image and i want to display it in iOS UIImageView
. 我有一个
.pgm
格式的图像,我想在iOS UIImageView
显示它。
I have tried putting the image
in UIImageView
but it is not displaying anything. 我尝试将
image
放在UIImageView
,但未显示任何内容。
Are we not supposed to use .pgm
format? 我们不应该使用
.pgm
格式吗?
Thanks in advance 提前致谢
I think below images file extension is readable in iPhone 我认为以下图像文件扩展名在iPhone中可读
https://developer.apple.com/library/ios/documentation/uikit/reference/UIImage_Class/Reference/Reference.html https://developer.apple.com/library/ios/documentation/uikit/reference/UIImage_Class/Reference/Reference.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.