You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, I would like to know if there is a reason to have automatic rotation enabled?
I spotted this issue while replacing Gd by Vips in the project I work on. Because when a picture is loaded with automatic rotation, the orientation related metadata is not reset leading to the Autorotate transformation applying the rotation an other time.
I have the same problem. Yes, it is surely because of a mistake in the array_merge arguments order. @chregu, can you kindly look into this? This looks like a one line fix.
$options = array_merge($loadOptions, $options); needs to be $options = array_merge($options,$loadOptions);, so the users could overwrite the autorotate option.
ethaniel
added a commit
to ethaniel/imagine-vips
that referenced
this issue
Jul 10, 2023
Hello,
Given a photo with
exif-ifd0-Orientation: 6
. If I load the image like the code below, thethumbnail.jpg
file is rotated.I would like to know if it's a mistake in the
array_merge
arguments order in https://github.com/rokka-io/imagine-vips/blob/master/lib/Imagine/Vips/Imagine.php#L209?Also, I would like to know if there is a reason to have automatic rotation enabled?
I spotted this issue while replacing Gd by Vips in the project I work on. Because when a picture is loaded with automatic rotation, the orientation related metadata is not reset leading to the
Autorotate
transformation applying the rotation an other time.The text was updated successfully, but these errors were encountered: