no decode delegate for this image format...

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
chantren

no decode delegate for this image format...

Post by chantren »

Hello.

I have some problems using ImageMagick. Indeed, I am unable to read any image of any type. I read on this forum that it was because i don't have the delegates but even after having installed those that still don't work. I first tried the wand.c example (http://www.imagemagick.org/script/magick-wand.php) and I get the following error :

wand.c main 39 no decode delegate for this image format 'skin.jpg' @ constitute.c/ReadImage/503

but when I type convert -list configure I can see :

DELEGATES jpeg jp2
LIBS -lMagickCore -ljpeg -lgdi32 -lm -lpthread

I also tried with the core.c example and I still get the same error.

Thanks in advance.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: no decode delegate for this image format...

Post by magick »

Type
  • identify -list format
is JPEG listed with a mode of rw-?

Next try
  • convert -debug configure logo: logo.jpg
    convert -debug configure logo.jpg logo.pnm
Do you see any complaints in the debug output? Perhaps you have a file permission problem.
chantren

Re: no decode delegate for this image format...

Post by chantren »

The list is empty when I type "identify -list format", how can I correct that ?

I forgot to mention that i work under cygwin, maybe that is the source of the problem ?

Thank you.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: no decode delegate for this image format...

Post by magick »

Did you build from source? Try this:
  • cd ImageMagick-6.5.3-2
    ./configure --disable-shared
    make
    make install
    convert logo: logo.jpg
chantren

Re: no decode delegate for this image format...

Post by chantren »

I was building from the source but with a different version of ImageMagick. Using the 6.5.3-2 seem to have solved everything, it works fine now.

Thank you again !
jb123

Re: no decode delegate for this image format...

Post by jb123 »

Thank you so much! That solved my issue as well. Out of curiosity, what made you suggest configuring with the flag "--disable-shared"?
Post Reply