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
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of giffiledecoder!