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.

Project Activity

See All Activity >

License

Apache License V2.0

Follow giffiledecoder

giffiledecoder Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of giffiledecoder!

Additional Project Details

Registered

2015-03-20