Android中显示TIFF格式图像 [英] Show Tiff format image in Android
本文介绍了Android中显示TIFF格式图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的ImageView
来显示.TIFF格式的图像,但我正在逐渐 NullPointerException异常
的错误。
我将图像文件转换成字节数组,然后在的ImageView
设置它。
我怎样才能显示此TIFF文件?
I am using ImageView
to showing the .tiff formatted image, but I am getting error of NullPointerException
.
I am converting the image file into byte array and then setting it in ImageView
.
How can I show this tiff file?
推荐答案
您不能直接设置的TIFF图像在Android的一个ImageView的。 HTTP://$c$c.google.com/p/tiffonandroid/源/浏览/
这是一个简单的tiffviewer。这可以帮助你。
You cannot set the tiff image on a ImageView in android directly. http://code.google.com/p/tiffonandroid/source/browse/
this is a sample tiffviewer. This might help you
这篇关于Android中显示TIFF格式图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文