Skip to content
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

Add ability for Picasso to return GIF stream rather than just bitmaps #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

billdawson
Copy link

Decoding of the stream would then be handled by application using picasso (the "caller", so to speak.) The main thing done here is giving the picasso Target interface an onGifStreamAvailable callback method in addition to just the onBitmapLoaded callback.

... and when finding one will make the stream
available for any special non-picasso gif
handling to use later on. (Picasso does not
support animated GIFs).  In this case, the Bitmap
will not be created.
Instead, return an result object that can
have either a bitmap or a stream identified
as holding a GIF.
For better re-use when dealing with File sources.
@billdawson
Copy link
Author

Hold off on this, I want to rebase my changes on a release tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant