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

Fixed width and height not updated when image rotation is done by EXIF based orient method #12558

Merged
merged 3 commits into from Dec 28, 2022

Conversation

MarekBenjamin
Copy link

@MarekBenjamin MarekBenjamin commented Dec 28, 2022

It's a bit confusing as there are multiple locations where images are rotated.
This PR solves the problem of portrait images being rendered distorted as landscapes by having the rotation performed by the built-in rotate method, which correctly sets the new height and width after rotation.

@MarekBenjamin
Copy link
Author

@MrPetovan MrPetovan changed the title Fixed width and height not updated when image rotation is done by EXI… Fixed width and height not updated when image rotation is done by EXIF based orient method Dec 28, 2022
@MrPetovan MrPetovan added this to the 2023.03 milestone Dec 28, 2022
src/Object/Image.php Outdated Show resolved Hide resolved
src/Object/Image.php Outdated Show resolved Hide resolved
MarekBenjamin and others added 2 commits December 28, 2022 23:19
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
@MrPetovan MrPetovan merged commit 59b5d08 into friendica:develop Dec 28, 2022
@MarekBenjamin MarekBenjamin deleted the fix-disorted-portraits branch January 6, 2023 22:58
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.

None yet

2 participants