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

Auto-orient images when determining dimensions #2113

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

tf
Copy link
Member

@tf tf commented Jun 14, 2024

libvips and image magick handle image orientation correctly when creating thumbnails. Paperclip only parses the orientation header, but does not automatically apply when parsing geometry.

Storing dimensions in the wrong orientation causes inline images to have an incorrect aspect ratio.

REDMINE-20746

@tf tf added this to the v17.1 milestone Jun 14, 2024
libvips and image magick handle image orientation correctly when
creating thumbnails. Paperclip only parses the orientation header, but
does not automatically apply when parsing geometry.

Storing dimensions in the wrong orientation causes inline images to
have an incorrect aspect ratio.

REDMINE-20746
@tf tf force-pushed the auto-orient-images branch from 436e4c0 to 22a33d3 Compare June 14, 2024 15:38
@tf tf merged commit c2a7d3d into codevise:master Jun 14, 2024
11 checks passed
@tf tf deleted the auto-orient-images branch June 14, 2024 15:44
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.

1 participant