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

Support decoding WEBPs in extended format #1168

Merged
merged 1 commit into from
Mar 26, 2020
Merged

Support decoding WEBPs in extended format #1168

merged 1 commit into from
Mar 26, 2020

Conversation

paolobarbolini
Copy link
Contributor

@paolobarbolini paolobarbolini commented Mar 25, 2020

This adds support for decoding WEBPs encoded in extended format.

I added tests by copying the two test images in simple format, adding a VP8X chunk and appended an unknown chunk before and after the 'VP8 ' chunk to make sure the decoder correctly skipped unknown chunks and read the data from the VP8 chunk without going over.

The resulting decoded image is the same as the one from the files from the tests in simple format.

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

@HeroicKatora HeroicKatora merged commit 74c0d08 into image-rs:master Mar 26, 2020
@HeroicKatora
Copy link
Member

Thank you!

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.

2 participants