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

Identify and drop useless sRGB profiles #143

Merged
merged 1 commit into from
Nov 13, 2018

Conversation

kornelski
Copy link
Contributor

libpng has a list of profiles it considers sRGB and/or "bad", and this makes pngcrush drop these profiles.

I've added similar logic that replaces these sRGB-ish profiles with an equivalent sRGB chunk.

shssoichiro
shssoichiro previously approved these changes Nov 13, 2018
Copy link
Owner

@shssoichiro shssoichiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@shssoichiro
Copy link
Owner

Actually, this seems to be breaking the strip_headers_safe test. Could you verify if the test needs to be updated, or if there is a code issue that needs to be resolved?

@kornelski
Copy link
Contributor Author

The test needed updating

@shssoichiro shssoichiro merged commit 96eda85 into shssoichiro:master Nov 13, 2018
@kornelski kornelski deleted the badicc branch November 13, 2018 20:09
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