android-discuss icon indicating copy to clipboard operation
android-discuss copied to clipboard

android 中加载超大GIF 大于10MB以上

Open ByteRax opened this issue 11 years ago • 4 comments

比如新浪微博这样的,加载很多GIF大图,这个是怎么实现的呢?我试过很多方法,在很多极端情况下都会OOM,

ByteRax avatar May 28 '15 08:05 ByteRax

https://github.com/davemorrissey/subsampling-scale-image-view 这个可以加载超大图!

l123456789jy avatar May 28 '15 10:05 l123456789jy

@l123456789jy 这个是静态图 ,,,,我这里的情况是超大GIF,动态图片

ByteRax avatar May 28 '15 10:05 ByteRax

肯定是先压缩啊,查看单张时可以做放大。

philofly avatar May 28 '15 10:05 philofly

看下这个,我测了下是可以的。。https://github.com/koral--/android-gif-drawable

zhangfy068 avatar Jul 31 '15 10:07 zhangfy068