-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gif support #59
Comments
This is a bit complicated. I don't think Glide provides great out of the box support for images that can't be displayed as bitmaps right now. I have an idea of how Glide can be modified to be more flexible, but I haven't yet had the time to implement it. In the meantime your best bet is probably to use Volley to download and save the bytes of the gif to disk (outside of Glide's cache), and then provide the filepath (or a FileInputStream) to the gifdecoder. I know this isn't great, and if you're interested in trying to modify Glide to better support this I'd be happy to have any help you might be willing to provide. |
This is fixed in the 3.0a version here: ea01ddd. |
Since this is fixed in the 3.0a branch and not practical to cherry pick, I'm going to close this, thanks for the request! |
I'm using a custom GifDrawable wich incorporates with GifDecoder which knows how to get next frame/delay and works with stream of bytes to display animated gifs. So I would like to integrate your library to my project to support gif loading and animation. Could you please point me on how I can achive this?
The text was updated successfully, but these errors were encountered: