-
Notifications
You must be signed in to change notification settings - Fork 158
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
Bug in PNG compressed iTXt chunk #421
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems to be a bug in the decoding of compressed iTXt chunks in PNG files. Instead of trying to decompress the actual compressed data stored after the keyword and flags, the data from the start of the whole chunk is sent instead which causes a failure:
metadata-extractor-dotnet/MetadataExtractor/Formats/Png/PngMetadataReader.cs
Line 267 in ed79cc0
I have fixed the issue in a branch here and will create a PR:
https://github.com/reinfallt/metadata-extractor-dotnet/tree/png_iTXt_compressed
Here is an example png file:
The text was updated successfully, but these errors were encountered: