Page 1 of 1

HELP: Can't Convert .pdf to .gif

Posted: 2013-03-10T13:17:41-07:00
by seathebird
I'm trying to convert a multi-page .pdf file into an animated .gif using the sequence:

Code: Select all

convert -delay 10 Ellipse.pdf Ellipse.gif
However, It doesn't work and results in an error code stating that it cannot find the file or directory. I set the working directory to the folder on my desktop containing the .pdf file that should be converted.

I'm using the following version ImageMagick 6.8.3-8 2013-03-04 Q16 on Windows Vista with a x64-bit OS.

Any help would be greatly appreciated!!

Thanks

Re: HELP: Can't Convert .pdf to .gif

Posted: 2013-03-10T13:31:26-07:00
by snibgo
This works fine for me with 6.7.9 or 6.8.3-0 on Windows 7.

What is the exact error message?

Can you convert a single page?

Code: Select all

convert Ellipse.pdf e.png
What output do you get with "-verbose"?

Re: HELP: Can't Convert .pdf to .gif

Posted: 2013-03-10T13:39:37-07:00
by seathebird
Thanks for the help @snibgo.

I can't even convert a single page, as I get the following error message:
convert.exe: `%s' (%d) "gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOP
ROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha"
-dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutputFile=C:/Users/owner/
AppData/Local/Temp/magick-4556t6dryqxAle0U-1" "-fC:/Users/owner/AppData/Local/Te
mp/magick-4556djOl6-EP27Td" "-fC:/Users/owner/AppData/Local/Temp/magick-45567iso
6khSoSa2" @ error/utility.c/SystemCommand/1894.
convert.exe: Postscript delegate failed `Ellipse.pdf': No such file or directory
@ error/pdf.c/ReadPDFImage/681.
convert.exe: unable to open image `e.png': No such file or directory @ error/blo
b.c/OpenBlob/2641.
convert.exe: unable to open file `e.png' @ error/png.c/ReadPNGImage/3797.
convert.exe: no images defined `-verbose' @ error/convert.c/ConvertImageCommand/
3068.
However, I pointed to the folder containing the .pdf file in the CMD prompt.

Thanks

Re: HELP: Can't Convert .pdf to .gif

Posted: 2013-03-10T14:04:08-07:00
by snibgo
As you can see, "convert" is trying to run "gswin32c.exe". What happens when you type that at the command line? If it fails, you haven't installed ghostscript.

Another possibility is that you don't have permissions to the directory C:/Users/owner/AppData/Local/Temp/