-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Set GifInfoHandle's visbility to public/add ability to get frames without creating drawable #206
Comments
Sorry, but |
I originally intended to implement this interface
And later I came to this
For ion's GifDecoder (typo in the class name), the original function
|
How can I decode file/stream to |
@Saren-Arterius what is the problem? Which method from |
@koral--, I have to make |
OK, I understand now. Interesting use case. I'll consider it. |
It's just about animating ImageSpan in a TextView. It's messy, I have written a GifThread for each gif url, it will replace the drawable inside a drawable wrapper with a next frame over time, but it just works. |
Without using GifInfoHandle, I will have to pause the new GifDrawable immediately. Don't know whether this will cause extra overhead (A new gif animating has been already submited to an executor?). |
If you just want animated GIF inside |
@koral-- I am currently having greater control that I can let my users to limit the GIF fps. Also, the code in my app is too fixed that it's very hard to change. Anyway, thanks for letting me know that. |
Lightweight wrapper of |
Currently I am using koush/ion's GifDecoder to decode GIFs and animate the ImageSpan. However GIF corruption occurs in some GIFs, while gif-drawable don't. As a result, I am migrating from GifDecoder to gif-drawable.
I need access to GifInfoHandle, please set GifInfoHandle's visbility to public.
The text was updated successfully, but these errors were encountered: