Skip to content

Option to ignore ancillary chunks with invalid CRC #430

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

Merged
merged 1 commit into from
Nov 26, 2023

Conversation

sophie-h
Copy link
Contributor

Skipping non-critical chunks if the CRC check fails is the default it libpng. Therefore adding this
option and enabling it by default.

image-rs/image#2057

Skipping non-critical chunks if the CRC check fails
is the default it libpng. Therefore adding this
option and enabling it by default.

image-rs/image#2057
@fintelia fintelia merged commit b93777c into image-rs:master Nov 26, 2023
@anforowicz
Copy link
Contributor

@sophie-h - would you be able to add test coverage for the new option? I am doing some refactoring in #428 and the test coverage would be an extra reassurance that I've correctly resolved the merge conflicts (both of our PRs edited stream.rs).

@sophie-h
Copy link
Contributor Author

sophie-h commented Dec 3, 2023

would you be able to add test coverage for the new option?

Got the original image form the issue report licensed under CC0 and it's small. So a regression test should be simple now.

sophie-h added a commit to sophie-h/image-png that referenced this pull request Dec 4, 2023
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.

3 participants