- New (#66): Expose
GifDecoder#getFrameCount
- New (#65): Bump compile and target SDK versions to 27,
minSdkVersion
is now 14 - Fix (#58): Apply latest changes from Glide's
GifDecoder
, fixDISPOSE_BACKGROUND
andDISPOSE_PREVIOUS
- New (#57): Added
OnAnimationStart
callback - New (#35): Added support for GIFs with a loop count specified
- Fix (#34): Clear animation when detached from the window
- New (#18): On stop callback for when animation completes
- Fix (#36): Division by Zero Exception
- Fix (#37): IllegalArgumentException due to overflowing buffer length
- Fix (#28): Memory leak in cleanupRunnable
- Ported the
GifDecoder
implementation from Glide which fixes most of the gif weirdnesses and bugs.
- Adds support for custom frame display duration via
setFramesDisplayDuration()
, thanks to @donvigo
- Adds support to
OnFrameAvailable
callback, thanks to @luciofm.
- Adds methods
getGifWidth()
andgetGifHeight()
toGifImageView
class.
- Catch exceptions in
GifImageView.run()
- Safer clear() routine to avoid null pointer exceptions.
- PR #5: Fixes crashes when clearing the GIF bytes.
- PR #4: Replace false image data decoding in readContents with simple skipping.
- Adds
isAnimating()
that returns whether the gif animation is currently running.
Initial release