Page 1 of 1

no decode delegate for this image format...

Posted: 2009-06-02T01:14:42-07:00
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.

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

Posted: 2009-06-02T06:15:25-07:00
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.

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

Posted: 2009-06-02T06:28:18-07:00
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.

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

Posted: 2009-06-02T07:12:29-07:00
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

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

Posted: 2009-06-02T07:51:20-07:00
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 !

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

Posted: 2009-07-17T14:31:49-07:00
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"?