This project includes code to decode and play animated GIFs on Android.
Significant files:
GifFileDecoder.java - decoder, converts gif files to in-memory images. Implements streaming: only one or two frames are kept in memory, so long videos can be played without memory concerns. Code is implemented in Java, but appears to work about as fast as WebView.
GifImageView.java - custom ImageView running decoder from a thread.
You have permission to use this code in any of your projects.
License
Apache License V2.0Follow giffiledecoder
Other Useful Business Software
Earn up to 16% annual interest with Nexo.
Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of giffiledecoder!