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

Corrected reading EXIF metadata without prefix #4677

Merged
merged 1 commit into from
Jun 7, 2020

Conversation

radarhere
Copy link
Member

Resolves #4676

Image.Exif currently assumes that EXIF data starts with b"Exif\x00\x00". This is not the case though, with the "Raw profile type exif" in the issue's image, or with the EXIF data in Tests/images/flower2.webp.

This PR removes that assumption.

@RomanKosobrodov
Copy link

Thank you for quickly resolving the issue. Looking forward for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getexif() crashes when reading empty EXIF data from a PNG file saved by RawTherapy 5.8
3 participants