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

Invalid iCCP chunk written #546

Closed
kornelski opened this issue Dec 7, 2024 · 1 comment
Closed

Invalid iCCP chunk written #546

kornelski opened this issue Dec 7, 2024 · 1 comment

Comments

@kornelski
Copy link
Contributor

The chunk is supposed to have named and compressed ICC data: https://www.w3.org/TR/png/#11iCCP

but the encoder seems to just write it raw:

encoder::write_chunk(&mut w, chunk::iCCP, iccp)?;

the decoder does parsing and decompression:

fn parse_iccp(&mut self) -> Result<Decoded, DecodingError> {

@kornelski
Copy link
Contributor Author

Fixed in #548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants