Skip to content

respect orientation metadata when rotating images#551

Merged
mtwebster merged 1 commit intolinuxmint:masterfrom
ygerlach:fixRotaionMetadata
Jun 10, 2025
Merged

respect orientation metadata when rotating images#551
mtwebster merged 1 commit intolinuxmint:masterfrom
ygerlach:fixRotaionMetadata

Conversation

@ygerlach
Copy link
Copy Markdown
Contributor

@ygerlach ygerlach commented Jun 9, 2025

Fixes: #550

Apply the orientation metadata before rotating.

See imagemagick docs: http://www.imagemagick.org/script/command-line-options.php#auto-orient

I have applied the rotate 90° twice to an image with orientation metadata and it worked as expected. (The orientation metadata is stripped after applying it)

@ygerlach ygerlach force-pushed the fixRotaionMetadata branch from fd63f94 to ad73e3f Compare June 9, 2025 15:13
@mtwebster mtwebster merged commit a59527b into linuxmint:master Jun 10, 2025
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.

nemo-image-converter: with some images, first rotation always produces wrong result

2 participants