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

WebP's into_frames iterator returns None upon encountering DecodingError::NoMoreFrames #2278

Merged

Conversation

porkbrain
Copy link
Contributor

There's one problem: the original regression test swallowed errors because it just counted results without checking for Ok. I fixed that, but the WebP decoding fails on

Error decoding "tests/images/webp/extended_images/advertises_rgba_but_frames_are_rgb.webp" frame 3: IoError(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" })


Closes #2263


I license past and future contributions under the dual MIT/Apache-2.0 license,
allowing licensees to choose either at their option.

@fintelia
Copy link
Contributor

This looks good to me. It just needs an un-released bugfix from image-webp to resolve the one failing test

@fintelia fintelia merged commit a275f38 into image-rs:main Jul 17, 2024
31 of 32 checks passed
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.

Animated WebP's cannot actually be loaded
2 participants