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

Add zero orientation support ignoring EXIF #171

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

danielcastrobalbi
Copy link
Contributor

Problem:
As some images have an EXIF orientation, I had the problem with rotating an image to its default orientation without EXIF. I just needed the EXIF orientation data to be ignored/deleted.

Solution:
Glide supports zero orientation to rotate an image in the same orientation as before but ignoring the EXIF orientation.

This PR adds the possibility to rotate an image by zero, deleting EXIF orientation.

Added additional zero orientation constant to Manipulations.php to allow zero orientation value for correct rotation ignoring exif data
@freekmurze freekmurze merged commit c2dc137 into spatie:main Aug 9, 2022
@freekmurze
Copy link
Member

Thanks!

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.

2 participants