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

Any plan to support progressive animated image decoding ? (Like Chrome or SDAnimatedImage) #224

Open
dreampiggy opened this issue Aug 29, 2018 · 0 comments

Comments

@dreampiggy
Copy link

dreampiggy commented Aug 29, 2018

Issue

YYImage + YYAnimatedImageView, current does not allows to play animation, during progressive image download.

The issue is because that YYImageDecoder disable this support, so that YYImage can not get correct frame even if the original image data was updated.

See the code here:

if (!_finalized) { // ignore multi-frame before finalized
_frameCount = 1;

That // ignore multi-frame before finalized comment seems disable this feature.

Because of this, so that image && imageView have no way to do animation during progressive download.

Reason

Why I want to fire this, it's because that SDWebImageYYPlugin want to support this behavior with YYImage. It's a plugin to embed YYImage/YYCache into SDWebImage loading system. Due to this, we can only support static progressive image decoding && normal animation decoding, no progressive animation supports.

So I'll glad to see if there are any plan to support this behavior.

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

No branches or pull requests

1 participant