Skip to content

pravynandas/GifFileDecoder-android

Repository files navigation

GifFileDecoder-android

Animated GIF decoder and player for Android

Android ported version of https://code.google.com/archive/p/giffiledecoder/

Google Code is closing, project moved to https://sourceforge.net/projects/giffiledecoder/

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.

Tasks completed

  1. Port to android studio
  2. code clean
  3. upgrade to sdk version 29
  4. Language level '7' to '8'
  5. Import GifDrawable class

Releases

No releases published

Packages

No packages published

Languages