Reputation: 18276
I'm trying to use ImageMagick to convert a bunch of PDF into JPG (or PNG) but this error keep happenings.
convert E/paginas/pdf/E2.pdf E/paginas/pdf/E2.png
convert: no decode delegate for this image format `/tmp/magick-qX48YuZM-00000001' @ error/constitute.c/ReadImage/532.
convert: Postscript delegate failed `E/paginas/pdf/E2.pdf': @ error/pdf.c/ReadPDFImage/663.
convert: missing an image filename `E/paginas/pdf/E2.png' @ error/convert.c/ConvertImageCommand/3015.
Same to .jpg
PS: I'm at Ubuntu 10.10
Upvotes: 1
Views: 4207
Reputation: 38412
ImageMagick 6.6.0-4 just successfully converted a PDF-1.4 file to .png format. What version are the PDFs you're using, and what version of convert?
You determine the PDF version with: head -c 8 myfile.pdf
The ImageMagick version: convert --version
What you can do to diagnose the problem is to apt-get source imagemagick
, and use the source line numbers in the error messages to locate the problem, and possibly fix the program to recognize the PDF, even if you have to tell the program to ignore certain sections.
Upvotes: 1