Problem to convert pdf to jpg

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
groguilel
Posts: 1
Joined: 2011-07-08T12:33:25-07:00
Authentication code: 8675308

Problem to convert pdf to jpg

Post by groguilel »

Hi,

I'm using CentOS on my linux server and I would like to be able to convert PDF to JPG with PHP. When I do a simple "convert test.pdf test.jpg", I have the following errors :

convert: no decode delegate for this image format `/tmp/magick-VOaXMziQ-00000001' @ error/constitute.c/ReadImage/532.
convert: Postscript delegate failed `test.pdf': @ error/pdf.c/ReadPDFImage/663.
convert: missing an image filename `test.jpg' @ error/convert.c/ConvertImageCommand/3015.

For your information, I installed :
ImageMagick-6.7.0-10
ghostscript-9.02
ghostscript-fonts

When I do a "convert -list configure" this is what I have in the delegates :

> DELEGATES bzlib freetype gs jpeg lcms tiff x11 zlib

as you can see, Ghostscript (gs) is properly taken in consideration but I still can't convert a PDF to JPG knowing that all the other image magick commands work. Do you have any clues for me ?

Thank you !
Post Reply