I. I don’t understand how to specify image’s orientation.
-
Step 1: I specify the image’s orientation using
magick 0.jpg -orient top-left 1.jpg
-
Step 2: I rotate the image using
magick 1.jpg -rotate 90 2.jpg
-
Step 3: I try to restore the orientation I have specified earlier using
magick 2.jpg -auto-orient 3.jpg
I expected that 3.jpg
will be rotated -90 degrees, and so it will appear as 0.jpg
and 1.jpg
, but this doesn’t happen, and it still appear as 2.jpg
.
Am I doing something wrong?
II. Also, I don’t understand how to find out the specified orientation. I tried
magick identify -format "%[orientation]" 3.jpg
but this returns Undefined
.
jsx is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.