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

Does it require the entire buffer? #11

Open
gajus opened this issue May 20, 2020 · 1 comment
Open

Does it require the entire buffer? #11

gajus opened this issue May 20, 2020 · 1 comment

Comments

@gajus
Copy link

gajus commented May 20, 2020

Is it enough to read just a chunk of the image? Loading 20MB image into memory is suboptimal.

@qzb
Copy link
Owner

qzb commented Jul 15, 2020

In theory you can provide only part of the image, but it is hard to estimate how much data is needed to determine if it's animated or not. It depends on type of image and it's content.

It's possible to implement support for streams, but it's not a trivial task, since it would require a new API, and significant changes in current implementation.

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

2 participants