Closed reinfallt closed 2 years ago
@reinfallt your change looks good to me! Would you like to create a pull request?
Also, are you happy to share your PNG file publicly as part of the regression testing dataset?
Yes you can include the file in the tests
Thank you!
Saving a PNG file with exif info in GIMP contains a 'Exif\x0\x0' preamble but this is not handled by the lib.
Example file: https://drive.google.com/file/d/1v8E2g1oiJDFAkWfzuH8u_g4MkEGVjbE6/view?usp=sharing
In PngMetadataReader.cs, adding a check for the exif preamble fixes the issue but I don't know if it is the "correct" way of solving it: