convert PDF to JPG and possible gs delegate problem

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
rsada
Posts: 2
Joined: 2011-05-26T11:17:46-07:00
Authentication code: 8675308

convert PDF to JPG and possible gs delegate problem

Post by rsada »

Hi,

I'm a newbie on IM here so please be patient, thanks for your help..

I need help setting up IM to use ghostcript (gs) delegate correctly..

I've installed IM 6.7.0-Q16 and gs 9.02 both 64 bit version on Windows 7 64bit (GD was installed first, then IM). I'm trying to convert PDFs files to jpg or other image formats and getting the following error:

Code: Select all

C:\Temp>convert test.pdf test.jpg
Magick: `%s' (%d) "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap
=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphic
sAlphaBits=4 "-r72x72"  "-sOutputFile=C:/Users/RICARD~1.SAD/AppData/Local/Temp/magick-4-qNderi--0000
001" "-fC:/Users/RICARD~1.SAD/AppData/Local/Temp/magick--7Cav2Qe" "-fC:/Users/RICARD~1.SAD/AppData/L
ocal/Temp/magick-WjyCw0jn" @ error/utility.c/SystemCommand/2094.
Magick: Postscript delegate failed `test.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/
663.
Magick: missing an image filename `test.jpg' @ error/convert.c/ConvertImageCommand/3015.
I've gone through a some of the posts (like the one below, which was a problem with 32bit versions on 64 windows), but I've found no way to configure IM's gs delegate..

viewtopic.php?f=3&t=15056

Running convert -list configure displays no delagate for gs , this is the result.

Code: Select all

C:\Temp>convert -list configure

Path: [built-in]

Name          Value
-------------------------------------------------------------------------------
NAME          ImageMagick

Path: C:\Program Files\ImageMagick-6.7.0-Q16\config\configure.xml

Name          Value
-------------------------------------------------------------------------------
CC            vs10
COPYRIGHT     Copyright (C) 1999-2011 ImageMagick Studio LLC
DELEGATES     bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
FEATURES      OpenMP
HOST          Windows
LIB_VERSION   0x670
LIB_VERSION_NUMBER 6,7,0,0
NAME          ImageMagick
RELEASE_DATE  2011-06-01
VERSION       6.7.0
WEBSITE       http://www.imagemagick.org

Path: configure.xml

Name          Value
-------------------------------------------------------------------------------
CC            vs10
COPYRIGHT     Copyright (C) 1999-2011 ImageMagick Studio LLC
DELEGATES     bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
FEATURES      OpenMP
HOST          Windows
LIB_VERSION   0x670
LIB_VERSION_NUMBER 6,7,0,0
NAME          ImageMagick
RELEASE_DATE  2011-06-01
VERSION       6.7.0
WEBSITE       http://www.imagemagick.org
Thanks for your help.
rsada
Posts: 2
Joined: 2011-05-26T11:17:46-07:00
Authentication code: 8675308

Re: convert PDF to JPG and possible gs delegate problem

Post by rsada »

I decided to install both 32 bit versions and now everything is working fine :-)
Post Reply