Converting PNG to PDF error

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
ACDC71
Posts: 1
Joined: 2012-11-13T03:59:56-07:00
Authentication code: 6789

Converting PNG to PDF error

Post by ACDC71 »

I've installed ImageMagic 6.8.0.4 on my SLES 11 x64 from source .gz file successfully.
When I'am try convert png-file to a pdf format> next error occured:

convert *.png book.jpg
convert: no decode delegate for this image format `0.png' @ error/constitute.c/ReadImage/550.
convert: no decode delegate for this image format `17.png' @ error/constitute.c/ReadImage/550.
convert: no images defined `book.jpg' @ error/convert.c/ConvertImageCommand/3044.

results of identity command:
identify -list format | grep PDF
EPDF rw- Encapsulated Portable Document Format
PDF rw+ Portable Document Format
PDFA rw+ Portable Document Archive Format

But for identify -list format | grep PNG command result is NULL!

result of rpm -qa|grep libpng comand is:
libpng12-0-1.2.31-5.10
libpng12-0-32bit-1.2.31-5.10

Is this libpng library is delegated to application?

I found libpng.tar.gz files on this link: http://www.imagemagick.org/download/delegates/
, but I've already libpng in the system.

Where I can find missed library for PGN support during conversation?
How I can convert multiple PNG files to one PDF file?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Converting PNG to PDF error

Post by fmw42 »

My guess is that png is not installed or not installed where IM can find it or you have multiple versions of png installed. I am inclined to think that it is that png is not installed where IM can find it.

Uninstall png, if you have it and re-install it, then re-install IM afterwards. You may want to check and install other delegates. You can check which ones IM can find by

convert -list configure

look at the line starting with DELEGATES.
Post Reply