"Postscript delegate failed" while converting a PS file
Posted: 2009-04-21T09:39:50-07:00
I just installed ImageMagick-6.5.1-Q16 on Windows XP 32bits from the installer available on the website. In a console, when I try to convert a PostScript file to PNG, I get the following error:
D:\tmp>convert lua-logo-label.ps lua-logo-label.png
convert: `%s': %s "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1080x1080 "-sOutputFile=C:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-QTNGbcRS" "-fC:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-hnlRr_f0" "-fC:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-0WAcN0c7" @ utility.c/SystemCommand/1833.
convert: `%s': %s "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1080x1080 "-sOutputFile=C:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-QTNGbcRS" "-fC:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-hnlRr_f0" "-fC:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-0WAcN0c7" -c showpage @ utility.c/SystemCommand/1833.
convert: Postscript delegate failed `lua-logo-label.ps': No such file or directory @ ps.c/ReadPSImage/742.
convert: missing an image filename `lua-logo-label.png' @ convert.c/ConvertImageCommand/2775.
I've read other similar bug reports (with the same "Postscript delegate failed"), and usually the answer is that the PostScript file is invalid. However the file is taken from a public website, and I already converted it successfully in the past. The image is available there:
http://www.lua.org/images/lua-logo-label.ps
I haven't installed any version of GhostScript, because I don't remember ever doing so, while I converted that PostScript file several times on Windows in the past.
D:\tmp>convert lua-logo-label.ps lua-logo-label.png
convert: `%s': %s "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1080x1080 "-sOutputFile=C:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-QTNGbcRS" "-fC:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-hnlRr_f0" "-fC:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-0WAcN0c7" @ utility.c/SystemCommand/1833.
convert: `%s': %s "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1080x1080 "-sOutputFile=C:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-QTNGbcRS" "-fC:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-hnlRr_f0" "-fC:/DOCUME~1/jvuarand/LOCALS~1/Temp/magick-0WAcN0c7" -c showpage @ utility.c/SystemCommand/1833.
convert: Postscript delegate failed `lua-logo-label.ps': No such file or directory @ ps.c/ReadPSImage/742.
convert: missing an image filename `lua-logo-label.png' @ convert.c/ConvertImageCommand/2775.
I've read other similar bug reports (with the same "Postscript delegate failed"), and usually the answer is that the PostScript file is invalid. However the file is taken from a public website, and I already converted it successfully in the past. The image is available there:
http://www.lua.org/images/lua-logo-label.ps
I haven't installed any version of GhostScript, because I don't remember ever doing so, while I converted that PostScript file several times on Windows in the past.