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

Use irot box to get HEIC/HEIF rotation angle #131

Merged
merged 1 commit into from Aug 9, 2021

Conversation

stefanoverna
Copy link
Contributor

This should fix #130.

According to the HEIF standard, HEIF files can store EXIF metadata in Exif item, but the format also has a built-in way of transforming images: irot property rotates the image 0, 90, 180 or 270 degrees.

It's unclear whether you should use EXIF orientation or the built-in transformations. For instance, iOS creates HEIF files with both EXIF orientation and irot property containing equivalent values.

@SamSaffron
Copy link
Collaborator

This change looks great to me!

@SamSaffron SamSaffron merged commit f655910 into sdsykes:master Aug 9, 2021
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.

Inverted width and height for HEIC portrait image (taken in upright position)
2 participants