Page 1 of 1

Converting PNG to PDF error

Posted: 2012-11-13T04:20:08-07:00
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?

Re: Converting PNG to PDF error

Posted: 2012-11-13T10:47:42-07:00
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.