Page 1 of 1

Solution for "No Delegate for format"

Posted: 2008-11-03T07:05:08-07:00
by seboeh
Hello at all,

"No encoded delegate for image format" or "No decoded delegate for image format" is an error which seems to occur very often.

I would be happy, if it would be possible to mention that the directory for the delegates, which have to be exactly the directory at the installation. I think many user expect that the library files are handeled without any directory structure. This concerns especially the windows libraries.

This information in front of the installation process would be more helpfull for many developers. Of course developers could get the information by itself if we see the directory structure, but they can not be shure that the libaries are not copied in the system directory. That confuse a littel bit.

Thanks a lot, seboeh

Re: Solution for "No Delegate for format"

Posted: 2008-11-03T07:41:24-07:00
by magick
Add -debug configure to your command line and it will tell you all the paths that were polled looking for an ImageMagick delegate:
  • -> convert -debug configure image.dat image.png
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: utility.c/unknown/808/Configure
    Command line: convert {-debug} {configure} {image.dat} {image.png}
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/share/ImageMagick-6.4.5/config/coder.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/lib/ImageMagick-6.4.5/config/coder.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/share/doc/ImageMagick-6.4.5/coder.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/share/ImageMagick-6.4.5/coder.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/home/cristy/.magick/coder.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "coder.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: coder.c/unknown/638/Configure
    Loading coder configuration file "/usr/local/share/ImageMagick-6.4.5/config/coder.xml" ...
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/share/ImageMagick-6.4.5/config/magic.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/lib/ImageMagick-6.4.5/config/magic.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/share/doc/ImageMagick-6.4.5/magic.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/share/ImageMagick-6.4.5/magic.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/home/cristy/.magick/magic.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "magic.xml"
    2008-11-03T09:39:09-05:00 0:01 0.000u 6.4.5 Configure convert[23938]: magic.c/unknown/681/Configure
    Loading magic configure file "/usr/local/share/ImageMagick-6.4.5/config/magic.xml" ...
    2008-11-03T09:39:09-05:00 0:01 0.010u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/share/ImageMagick-6.4.5/config/delegates.xml"
    2008-11-03T09:39:09-05:00 0:01 0.010u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/lib/ImageMagick-6.4.5/config/delegates.xml"
    2008-11-03T09:39:09-05:00 0:01 0.010u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/share/doc/ImageMagick-6.4.5/delegates.xml"
    2008-11-03T09:39:09-05:00 0:01 0.010u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/usr/local/share/ImageMagick-6.4.5/delegates.xml"
    2008-11-03T09:39:09-05:00 0:01 0.010u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "/home/cristy/.magick/delegates.xml"
    2008-11-03T09:39:09-05:00 0:01 0.010u 6.4.5 Configure convert[23938]: configure.c/unknown/528/Configure
    Searching for configure file: "delegates.xml"
    2008-11-03T09:39:09-05:00 0:01 0.010u 6.4.5 Configure convert[23938]: delegate.c/unknown/1177/Configure
    Loading delegate configuration file "/usr/local/lib/ImageMagick-6.4.5/config/delegates.xml" ...
    2008-11-03T09:39:09-05:00 0:01 0.010u 6.4.5 Configure convert[23938]: locale.c/unknown/779/Configure
    Loading locale configure file "/usr/local/lib/ImageMagick-6.4.5/config/locale.xml" ...
    2008-11-03T09:39:09-05:00 0:01 0.010u 6.4.5 Configure convert[23938]: locale.c/unknown/779/Configure
    Loading locale configure file "/usr/local/lib/ImageMagick-6.4.5/config/english.xml" ...
    convert: no decode delegate for this image format `image.dat'.
    convert: missing an image filename `image.png'.

Re: Solution for "No Delegate for format"

Posted: 2010-11-02T09:57:26-07:00
by swiss_knife
OK, but what do you make out of this output ?

I am trying to install ImageMagick on Ubuntu 9.04 64 bits. I followed

http://www.helioviewer.org/wiki/index.p ... mageMagick

ImageMagick 6.6.5-4 got correctly installed

but no delegates got installed when I try the procedure for
jpegsrc.v8b.tar.gz
and
jasper-1.900.1.zip

I keep getting only "DELEGATES zlib" when I do "convert -list configure" and I am not sure how to interpret the output when I do:
"convert -debug configure ~/tmp/4362323046_96a3c2c837.jpg toto.jpg"

Do you know if this is supposed to work ? Thank you for the help.

Re: Solution for "No Delegate for format"

Posted: 2010-11-02T10:07:43-07:00
by fmw42
ImageMagick 6.6.5-4 got correctly installed

but no delegates got installed when I try the procedure for
jpegsrc.v8b.tar.gz
and
jasper-1.900.1.zip
'


I believe that you have to install the delegates before installing IM or reinstall IM after you have installed the delegates. Also be sure the delegates got installed correctly.

convert -list configure

see the line starting with DELEGATES to tell you which delegates IM can find.

Re: Solution for "No Delegate for format"

Posted: 2010-11-02T10:09:39-07:00
by fmw42
The poll needs a bit more explanation of "announcement". Is that just a note in the docs or something during the installation?

Re: Solution for "No Delegate for format"

Posted: 2010-11-02T14:33:59-07:00
by swiss_knife
"convert -debug" basically list xml files, but how one knows if the delegates are not found because there was a delegate install problem or the problem is Magick not finding them ?

Re: Solution for "No Delegate for format"

Posted: 2010-11-02T14:39:04-07:00
by Bonzo
The whole Imagemagick error reporting is confusing or lacking as you can get an error like:
convert: missing an image filename `Output.png'.
But this can actualy be caused by something else for instance the input image is missing and not something wrong with the image you are saving!