converting ai to png

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
slvtn666
Posts: 2
Joined: 2016-09-12T01:59:13-07:00
Authentication code: 1151

converting ai to png

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: converting ai to png

Post 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
snibgo's IM pages: im.snibgo.com
slvtn666
Posts: 2
Joined: 2016-09-12T01:59:13-07:00
Authentication code: 1151

Re: converting ai to png

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