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
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of giffiledecoder!