[RESOLVED] Fail to convert pdf to jpg
Posted: 2009-09-08T20:13:31-07:00
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
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