Repository navigation
Ignore gAMA chunk with 0 in parse_gama? #627
Closed
danieldilan
started this conversation in
General
Replies: 1 comment 2 replies
|
I think it makes more sense to treat semantic validation similar to the validation we do for |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am curious if this library has interest in adding some validation when parsing the gAMA chunk in the
StreamingDecoder::parse_gamafunction? The PNGV3 13.13 spec states "A gAMA chunk containing zero is meaningless but could appear by mistake. Decoders should ignore it, and editors may discard it and issue a warning to the user" (https://www.w3.org/TR/png-3/#13Decoder-gamma-handling). It could be useful to return a None option in this case.All reactions