Replies: 1 comment
-
Is this a duplicate of #3268 ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using
vips_jpegload
function withautorotate
optional parameter toTRUE
is auto rotating the image but not removing the orientation tags from the image causing accidental double rotations.I have tested the issue with these two small C programs:
This program is printing
Orientation: 3
in the console showing thatvips_jpegload
withautorotate
toTRUE
is not removing orientation tags.If we use
vips_autorot
function instead the orientation tags are correctly removed:This program is printing
vips_image_get: field "orientation" not found
showing that the orientation tags are removed byvips_autorot
function.Is there any motivation behind the different behavior between
vips_jpegload
with enabledautorotate
andvips_autorot
? I would expect them to have the same behavior.The input file used for testing is: example.jpg.zip
I'm using vips 8.12.2. 😃
Beta Was this translation helpful? Give feedback.
All reactions