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.
convert PDF to PNG does not work
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: convert PDF to PNG does not work
You need to install the ghostscript program!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/