Page 1 of 1

AI to JPG conversion not working on ImageMagick-7.0.3-8-Q16

Posted: 2017-03-08T01:18:45-07:00
by kish
I am trying to perform conversion of AI files to JPG and getting the following issue.

Command: magick ai:"C:\Users\Test\Ape_02.ai" -intent relative -sample 1024x768> -quality 95 -colorspace sRGB -strip -auto-orient "C:\Users\Test\Ape_01.JPG"

Output:
magick: unable to open image `95': No such file or directory @ error/blob.c/OpenBlob/2701.
magick: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504.

I have latest ghost script installed on my machine

NOTE: The above command is working as expected on ImageMagick 6.9.2-6 Version?

Is there any changes in v7? Please help to resolve this on v7.

Re: AI to JPG conversion not working on ImageMagick-7.0.3-8-Q16

Posted: 2017-03-08T07:27:50-07:00
by GeeMack
kish wrote: 2017-03-08T01:18:45-07:00Output:
magick: unable to open image `95': No such file or directory @ error/blob.c/OpenBlob/2701.
magick: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504.
It looks like Windows is trying to interpret your ">" as a redirection. Try escaping it with a caret "^" like this...

Code: Select all

... -sample 1024x768^> ...
Or possibly just put the sampling dimensions including the ">" in double quotes like this...

Code: Select all

... -sample "1024x768>" ...
That should get you going in the right direction.