bumptech/glide

Reading GIF information and getting playback callbacks

Open

#1499 opened on Oct 5, 2016

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Java (35,023 stars) (6,176 forks)batch import
GIFenhancementhelp wanted

Description

In a similar way to #192, this would be a feature request to get information from the loaded gif in terms of playback time, and being able to get callbacks on each frame to update the playback position. Think of implementing a video like UI on top of gif playback. Did look through the API and didn't find how this would be possible. Desired features:

  • Get total playback of the gif in milliseconds and/or frames.
  • Get current playback position in milliseconds and/or frames.
  • Seek to a specific playback frame.
  • Be updated on each frame through a callback.

Contributor guide