Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joechan-cq/joegif
Android Gif解析
https://github.com/joechan-cq/joegif
android-gif
Last synced: 14 days ago
JSON representation
Android Gif解析
- Host: GitHub
- URL: https://github.com/joechan-cq/joegif
- Owner: joechan-cq
- Created: 2016-11-11T08:24:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-06T09:14:41.000Z (almost 8 years ago)
- Last Synced: 2024-10-19T06:06:43.218Z (2 months ago)
- Topics: android-gif
- Language: Java
- Size: 776 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JoeGif
Android Gif解析
##Introduction
Android Gif图片解析显示。
已初步实现gif的播放,使用LruCache进行缓存,解决了内存波动。
![](https://github.com/1030310877/JoeGif/blob/master/gif/demo.gif)
使用GifImageView方便加载Gif图片:
```
```
srcId:Gif对应的图片资源
syncShow:是否同步显示图片(边解码边显示)
lowMemory:是否以低内存形式处理(只能处理较小的图片,效果不佳)
###正在编写
* 是否循环播放的设置
- 文本扩展块的显示
* 内存优化(容量大的gif图片,解码后使得app占用非常大的内存)
- JNI方式进行gif解码