[RESOLVED] Fail to convert pdf to jpg

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
waww

[RESOLVED] Fail to convert pdf to jpg

Post by waww »

the imagemagick is the latest one,
C:\>convert -version
Version: ImageMagick 6.5.5-8 2009-09-08 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

I input these commands:

C:\>convert eng.pdf aaa.jpg
C:\>convert -density 150 -quality 100 -resize 800x c:\eng.pdf c:\aaa.jpg
or other related commands to convert pdf to jpg, I almost got the same error as following:

convert: `%s': %s "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutputFile=C:/Users/WANGXI~1/AppData/Local/Temp/magick-wSxPfDHS" "-fC:/Users/WANGXI~1/AppData/Local/Temp/magick-SqkmzvjS" "-fC:/Users/WANGXI~1/AppData/Local/Temp/magick-vQFUZO
am" @ utility.c/SystemCommand/1890.
convert: Postscript delegate failed `eng.pdf': No such file or directory @ pdf.c/ReadPDFImage/632.
convert: missing an image filename `aaa.jpg' @ convert.c/ConvertImageCommand/2819.

Who can tell me what the problem is? how to resolve it? how to convert pdf to jpg correctly?

========================

ignore this post, I forgot to install ghostscirpt
Post Reply