Skip to content

Conversation

@ReallyNiceGuy
Copy link

Chunk names can only contain the characters A-Z and a-z, and the 3rd character can never be lower case, as this marks the chunk as reserved for further use in the PNG standard.
But there are some non-compliant files that need to be read, and sometimes, written, which break these rules.
Let's implement flags on the encoder and decoder settings to ignore these checks, but they are enabled by default.

@ReallyNiceGuy ReallyNiceGuy force-pushed the enable_invalid_chunk_ids branch from 5ec6b11 to 9bf24a1 Compare September 16, 2025 12:15
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.

1 participant