Convert PDF to JPG Windows Xp

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
Helloworld

Convert PDF to JPG Windows Xp

Post by Helloworld »

Hi Guys,

I have just installed ImageMagick on my computer and I am unable to convert a PDF or anytype of file format say PNG to JPEG format from the Windows CMD.

The only command can get to run this is one:
Convert logo: logo.gif

When I try something like convert C:\ss.pdf file.jpg
I get the following error

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Zack>convert C:\ss.pdf file.jpg
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 "-r72x72" "-sOutputFile=C:/D
OCUME~1/Zack/LOCALS~1/Temp/magick-_brkMiLi" "-fC:/DOCUME~1/Zack/LOCALS~1/Temp/ma
gick-eOBz3fRu" "-fC:/DOCUME~1/Zack/LOCALS~1/Temp/magick-xN19EG3G".
convert: Postscript delegate failed `C:\ss.pdf': No such file or directory.
convert: missing an image filename `file.jpg'.

C:\Documents and Settings\Zack>

Can't make heads or tails of it.

Any tips would be much appreciated

Cheers :)
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Convert PDF to JPG Windows Xp

Post by Bonzo »

Working with pdf's you need Ghostscript installed as well. I am not sure in what order you need to install but I would guess Ghostscript first and then Imagemagick. But try installing Ghostscript now and see what happens. If it does not work uninstall both then install in a different order.
Helloworld

Re: Convert PDF to JPG Windows Xp

Post by Helloworld »

Hi Bonzo,

Thanks for the tip I have got it working now.
ian_scho

Re: Convert PDF to JPG Windows Xp

Post by ian_scho »

Thanks again.

I downloaded Ghost Script (and the useful GSView) and got it working without having to reinstall IM.
Post Reply