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

Adjust image dimensions for exif orientation #5188

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

WithoutPants
Copy link
Collaborator

Reads the exif data for images if present for the orientation tag and flips the dimensions if the orientation is rotated. Existing images with incorrect dimensions will need to be rescanned using rescan in the image page, or using the graphql playground using rescan: true.

A separate fix will be required for videos/clips.

Resolves #4555

Used this repo (thanks @zhyu) for testing.

@WithoutPants WithoutPants added the bug Something isn't working label Aug 30, 2024
@WithoutPants WithoutPants added this to the Version 0.27.0 milestone Aug 30, 2024
@WithoutPants WithoutPants merged commit 899ee71 into stashapp:develop Sep 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report] Some images have the wrong proportions on image wall
1 participant