Page 1 of 1

convert PDF to PNG does not work

Posted: 2009-10-06T16:05:20-07:00
by jieleng88
I try to convert pdf to png using command line convet. And get the following errors. Anyone knows what is wrong?

C:\Program Files\ImageMagick-6.5.6-Q16>convert -density 96x96 -trim Monte_Diablo
_001.pdf test.png
convert: `%s': %s "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -d
NOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVI
CE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r96x96" "-sOutputFile=C:/D
OCUME~1/jleng/LOCALS~1/Temp/magick-KzGTa4jC" "-fC:/DOCUME~1/jleng/LOCALS~1/Temp/
magick-FzssupcE" "-fC:/DOCUME~1/jleng/LOCALS~1/Temp/magick-6Vc2aLDc" @ utility.c
/SystemCommand/1890.
convert: Postscript delegate failed `Monte_Diablo_001.pdf': No such file or dire
ctory @ pdf.c/ReadPDFImage/634.
convert: missing an image filename `test.jpeg' @ convert.c/ConvertImageCommand/2
822.

Re: convert PDF to PNG does not work

Posted: 2009-10-06T17:16:18-07:00
by anthony
You need to install the ghostscript program!