Postscript delegate failed on x64
Posted: 2014-04-08T15:18:05-07:00
I have the x64 version of ImageMagick.
When we got the "Postscript delegate failed" error, I looked it up and found HERE that I needed GhostScript.
I went and got GhostScript (the x64 version), but it still fails.
Looking closely at the error message and following the directory structure, it appears that "convert.exe" is calling the 32-bit version of GhostScript.
How do I configure ImageMagick to use the x64 version of GhostScript?
It would not do me any good to install the 32-bit version of GhostScript, because those files would be in a different directory.
Do I just rename gswin64c.exe to gswin32c.exe?
When we got the "Postscript delegate failed" error, I looked it up and found HERE that I needed GhostScript.
I went and got GhostScript (the x64 version), but it still fails.
Looking closely at the error message and following the directory structure, it appears that "convert.exe" is calling the 32-bit version of GhostScript.
Code: Select all
C:\MCDevStack\www\www.martinconnection.com\development\bin\imagemagick>convert.e
xe -density 150 -trim -colorspace cymk -resize 8192x8192 test_src.pdf test_full.
jpg
convert.exe: unrecognized image colorspace `cymk' @ error/convert.c/ConvertImage
Command/1022.
C:\MCDevStack\www\www.martinconnection.com\development\bin\imagemagick>convert.e
xe -density 150 -trim -colorspace cmyk -resize 8192x8192 test_src.pdf test_full.
jpg
convert.exe: `%s' (%d) "C:/Program Files/gs/gs9.14/bin/gswin32c.exe" -q -dQUIET
-dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dG
ridFitTT=2 "-sDEVICE=pamcmyk32" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r150x1
50" -dUseCIEColor "-sOutputFile=C:\Users\jpool\AppData\Local\Temp\magick-1464lL
ZzemVQ1eHe-1" "-fC:\Users\jpool\AppData\Local\Temp\magick-14644dhk9y-03gF5" "-fC
:\Users\jpool\AppData\Local\Temp\magick-1464wGXd6N5VWCrX" @ error/utility.c/Syst
emCommand/2036.
convert.exe: Postscript delegate failed `test_src.pdf': No such file or director
y @ error/pdf.c/ReadPDFImage/713.
convert.exe: no images defined `test_full.jpg' @ error/convert.c/ConvertImageCom
mand/3150.
C:\MCDevStack\www\www.martinconnection.com\development\bin\imagemagick>
It would not do me any good to install the 32-bit version of GhostScript, because those files would be in a different directory.
Do I just rename gswin64c.exe to gswin32c.exe?