Page 1 of 1

convert pdf

Posted: 2008-10-23T09:22:33-07:00
by Sapphire
i try convert pdf to jpg ( >convert 1.pdf 1.jpg )

without ghostscript i have error

convert: `%s': %s "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -
dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pnmraw" -dTextAlp
haBits=4 -dGraphicsAlphaBits=4 "-g72x72" "-r" C:/DOCUME~1/EF489~1.POT/LOCALS~1/T
emp/magick-Mj9-0fjK "-sOutputFile=C:/DOCUME~1/EF489~1.POT/LOCALS~1/Temp/magick-0
p_fJUCr" "-fC:/DOCUME~1/EF489~1.POT/LOCALS~1/Temp/magick-V19EKQsM" "-f".
convert: Postscript delegate failed `1.pdf': No such file or directory.
convert: missing an image filename `1.jpg'.

with ghostscript

-r must be followed by <res> or <xres>x<yres>
convert: Postscript delegate failed `1.pdf': No such file or directory.
convert: missing an image filename `1.jpg'.

how can i fix this???

Re: convert pdf

Posted: 2008-10-23T10:06:16-07:00
by fmw42
Sapphire wrote:i try convert pdf to jpg ( >convert 1.pdf 1.jpg )

without ghostscript i have error

convert: `%s': %s "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -
dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pnmraw" -dTextAlp
haBits=4 -dGraphicsAlphaBits=4 "-g72x72" "-r" C:/DOCUME~1/EF489~1.POT/LOCALS~1/T
emp/magick-Mj9-0fjK "-sOutputFile=C:/DOCUME~1/EF489~1.POT/LOCALS~1/Temp/magick-0
p_fJUCr" "-fC:/DOCUME~1/EF489~1.POT/LOCALS~1/Temp/magick-V19EKQsM" "-f".
convert: Postscript delegate failed `1.pdf': No such file or directory.
convert: missing an image filename `1.jpg'.

with ghostscript

-r must be followed by <res> or <xres>x<yres>
convert: Postscript delegate failed `1.pdf': No such file or directory.
convert: missing an image filename `1.jpg'.

how can i fix this???
I am no expert (and don't know about -r), but it looks like you need to install the ghostscript (and possibly jpg) delegate libraries. To see what libraries you have installed, type

convert -list configure

And look for the line something like this:

DELEGATES bzlib fontconfig freetype gs jpeg jp2 lcms lqr openexr png tiff x11 xml zlib


see http://www.imagemagick.org/download/delegates/