Page 1 of 1

converting ai to png

Posted: 2016-09-12T02:03:12-07:00
by slvtn666
Hello.

Im trying to convert ai file to png, but i get this error:

N:\>magick convert file.ai test.png
convert: FailedToExecuteCommand `"gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutputFile=C:/Users/slvtn/AppData/Local/Temp/magick-6852stQ9kg9tVitS%d" "-fC:/Users/slvtn/AppData/Local/Temp/magick-6852mc7wgzxXrc6X" "-fC:/Users/slvtn/AppData/Local/Temp/magick-6852tATktaUWMYFW"' (Не удается найти указанный файл.
) @ error/delegate.c/ExternalDelegateCommand/460.
convert: PDFDelegateFailed `Не удается найти указанный файл.
' @ error/pdf.c/ReadPDFImage/783.
convert: no images defined `test.png' @ error/convert.c/ConvertImageCommand/3253.

Не удается найти указанный файл means - cant find file

with psd files this works fine.

Im using this version: ImageMagick-7.0.3-0-Q16-x64-dll.exe
Windows 10 Enterprise x64

Re: converting ai to png

Posted: 2016-09-12T03:03:41-07:00
by snibgo
For reading AI files (and PDF), IM delegates the work to Ghostscript, so that needs to be installed, eg from http://www.ghostscript.com/download/gsdnld.html

Re: converting ai to png

Posted: 2016-09-12T03:47:57-07:00
by slvtn666
snibgo wrote:For reading AI files (and PDF), IM delegates the work to Ghostscript, so that needs to be installed, eg from http://www.ghostscript.com/download/gsdnld.html
Thank you very much. Now it works fine.