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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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