Skip to content
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

Fix detection .png with long iTXt chunk #321

Merged
merged 1 commit into from
Feb 1, 2020

Conversation

Borewit
Copy link
Collaborator

@Borewit Borewit commented Jan 27, 2020

Changes:

  • Add test case with png containing long (>4k) preceding iTXt chunk
  • Return png in case the IDAT chunk could not be read in, in case a 4k sample is used.

Fix #320

@Borewit Borewit force-pushed the issue-320-png-with-long-iTXt-chunk branch from c0d49c2 to 758a40b Compare February 1, 2020 13:04
@Borewit Borewit merged commit a59869b into master Feb 1, 2020
@Borewit Borewit deleted the issue-320-png-with-long-iTXt-chunk branch February 1, 2020 13:11
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.

PNG with long iTXt chunk not detected as PNG image
2 participants