Page 1 of 1

[CLOSED] possible bug with -auto-orient in IM 7

Posted: 2018-09-24T14:25:24-07:00
by fmw42
In IM 6.9.10.11 Q16, the following works:

Code: Select all

convert -auto-orient logo: logo.png

But in IM 7.0.8.11 Q16, it shows an error:

Code: Select all

magick -auto-orient logo: logo.png
magick: no images found for operation `-auto-orient' at CLI arg 1 @ error/operation.c/CLIOption/5251.

Re: possible bug with -auto-orient in IM 7

Posted: 2018-09-24T14:41:44-07:00
by dlemstra
IM7 is more strict about the order of the arguments. You will need to move -auto-orient after reading the first image:

Code: Select all

magick logo: -auto-orient logo.png

Re: possible bug with -auto-orient in IM 7

Posted: 2018-09-24T14:57:13-07:00
by fmw42
Thanks. All this time I though it was important to put it before the image list. My error.