no decode delegate for this image format (PNG)

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
Daniel_in_the_sky
Posts: 13
Joined: 2009-07-27T05:04:53-07:00
Authentication code: 8675309

no decode delegate for this image format (PNG)

Post by Daniel_in_the_sky »

Hi,
Im beginner in IM (my version 6.5.0-10)
i can't use convert png i have "no decode delegate for this image format"
1/ i install libpng 1.2.38
2/ i run 'convert -list configure'
i have

Code: Select all

Path: /usr/local/lib/ImageMagick-6.5.0/config/configure.xml

Name          Value
-------------------------------------------------------------------------------
CC            gcc -std=gnu99
CFLAGS        -fopenmp -g -O2 -Wall -W -pthread
CONFIGURE     ./configure  '--without-perl' '--enable-lcms'
COPYRIGHT     Copyright (C) 1999-2009 ImageMagick Studio LLC
CPPFLAGS      -I/usr/local/include/ImageMagick
CXX           g++
CXXFLAGS      -g -O2 -Wall -W -pthread
DEFS          -DHAVE_CONFIG_H
DELEGATES     jpeg lcms tiff
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-fontconfig=no --with-gslib=no --with-fontpath= --with-rsvg=no --with-xml=no
EXEC-PREFIX   /usr/local
HOST          i686-pc-linux-gnu
LDFLAGS       -L/usr/local/lib
LIB_VERSION   0x650
LIB_VERSION_NUMBER 6,5,0,10
LIBS          -lMagickCore -llcms -ltiff -ljpeg -lm -lgomp -lpthread
NAME          ImageMagick
PCFLAGS       -fopenmp
PREFIX        /usr/local
QuantumDepth  16
RELEASE_DATE  2009-04-11
VERSION       6.5.0
WEBSITE       http://www.imagemagick.org
what can i do ?
thank you very much for support.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: no decode delegate for this image format (PNG)

Post by magick »

You need to install the PNG delegate library and its development package (which includes the required header files). Now run the configure script and verify that the PNG delegate library is validated. If not, check config.log to determine why validation failed, fix the problem, and rerun the configure script. Finally, type 'make install'.
Daniel_in_the_sky
Posts: 13
Joined: 2009-07-27T05:04:53-07:00
Authentication code: 8675309

Re: no decode delegate for this image format (PNG)

Post by Daniel_in_the_sky »

PNG delegate library = libpng 1.2.38.tar.gz ?

When i try to install libpng devel
(sory i translate french to english)
error :

Code: Select all

erreur: needs:
        libpng12 = 1.2.38-alt1 is necessary for libpng-devel-1.2.38-alt1.i586
        zlib-devel est is necessary for libpng-devel-1.2.38-alt1.i586
        /bin/sh est is necessary for libpng-devel-1.2.38-alt1.i586
        /usr/lib/libpng12.so.0.38.0 is necessary for libpng-devel-1.2.38-alt1.i586
        /usr/lib/pkgconfig is necessary for libpng-devel-1.2.38-alt1.i586
        coreutils is necessary for libpng-devel-1.2.38-alt1.i586
        rpmlib(PayloadIsLzma) is necessary for libpng-devel-1.2.38-alt1.i586
what can i do ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: no decode delegate for this image format (PNG)

Post by magick »

It is beyond the scope of this forum to help you install delegate libraries. That has little to do with ImageMagick and more to do with Linux administration.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: no decode delegate for this image format (PNG)

Post by fmw42 »

suggest you look inside the libpng folder and review the INSTALL notes to see if it needs any other support delegates or look at the config.log file to see if it says what the error might be.
Daniel_in_the_sky
Posts: 13
Joined: 2009-07-27T05:04:53-07:00
Authentication code: 8675309

Re: no decode delegate for this image format (PNG)

Post by Daniel_in_the_sky »

thank you i fixed my problem with IM réinstallation
Post Reply