安卓:获取SD卡上的图像的缩略图,因为原始图像的乌里 [英] Android: Get thumbnail of image on SD card, given Uri of original image
本文介绍了安卓:获取SD卡上的图像的缩略图,因为原始图像的乌里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以,我已经得到了用户选择出了他的SD卡图像的图像的URI。我想要来显示图像的缩略图,因为很明显,图像可能是巨大的,占据整个屏幕。任何人都知道怎么样?
So i've got a Uri of an image the user chooses out of images off his SD card. And i'd like to display a thumbnail of that image, because obviously, the image could be huge and take up the whole screen. Anyone know how?
推荐答案
尝试:
- 的Android如何创建运行时缩略图
- <一个href="http://stackoverflow.com/questions/3331527/android-resize-a-large-bitmap-file-to-scaled-output-file">Android:调整一个大的位图文件缩放的输出文件。 对于较大的图像
- Android的图片消气
- Android how to create runtime thumbnail
- Android: Resize a large bitmap file to scaled output file.
- Android Image Getter for Larger Images
这篇关于安卓:获取SD卡上的图像的缩略图,因为原始图像的乌里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文