Postscript delegate failed on x64

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
jp2code
Posts: 3
Joined: 2014-04-08T15:08:34-07:00
Authentication code: 6789
Location: Longview, TX [USA]

Postscript delegate failed on x64

Post by jp2code »

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.

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>
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?
~Joe
jp2code
Posts: 3
Joined: 2014-04-08T15:08:34-07:00
Authentication code: 6789
Location: Longview, TX [USA]

Re: Postscript delegate failed on x64

Post by jp2code »

Sorry.

Using ImageMagick 6.8.8 Q16 (64-bit).
~Joe
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Postscript delegate failed on x64

Post by fmw42 »

I am not a Windows expert, but I would expect there to be a 64-bit version of GS that you can install. You may have to reinstall IM afterwards.

But I will defer to the Windows experts on this one.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Postscript delegate failed on x64

Post by dlemstra »

Are you sure you are using the x64 version of ImageMagick? (convert -version) I fixed a bug yesterday that would cause a problem if you only install the 64-bit version of GhostScript and use the 32-bit version of ImageMagick.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
jp2code
Posts: 3
Joined: 2014-04-08T15:08:34-07:00
Authentication code: 6789
Location: Longview, TX [USA]

Re: Postscript delegate failed on x64

Post by jp2code »

dlemstra wrote:Are you sure you are using the x64 version of ImageMagick? (convert -version) I fixed a bug yesterday that would cause a problem if you only install the 64-bit version of GhostScript and use the 32-bit version of ImageMagick.
Apparently, I am.

However, the WAMP stack we are using currently targets the 32-bit version.

So, that solves my problem. Our WAMP stack needs to point to what is installed, not save a copy in a different folder.

Thanks, dlemstra!

This one is solved.
~Joe
Post Reply