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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
kish
Posts: 1
Joined: 2017-03-08T01:09:40-07:00
Authentication code: 1151

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

Post 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.
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

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

Post 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.
Post Reply