Open
Description
The PNG spec says:
Unexpected values in fields of known chunks (for example, an unexpected compression method in the IHDR chunk) shall be checked for and treated as errors. However, it is recommended that unexpected field values be treated as fatal errors only in critical chunks. An unexpected value in an ancillary chunk can be handled by ignoring the whole chunk as though it were an unknown chunk type.
Right now, parse_chunk
instead treats any error in any known chunk as fatal and sets the decoding state to None
.
Metadata
Metadata
Assignees
Labels
No labels