Convert fails on network installation with No Decode Delegat

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rcverbeek

Convert fails on network installation with No Decode Delegat

Post by rcverbeek »

Hi,

I have installed a Windows binary release (6.5.4-Q16) on a server. When I use the convert.exe on this server, everything works OK.

However, if I run the program from my own computer (with the appropiate mappings) I receive the following error convert.exe: no decode delegate for this image format .....

Since it works fine on the server, it must have something to do with some (registry?) setting on the server, which I don't have on my computer.

Can anybody tell me how to make a network installation work?

Thank you!

Regards Roeland Verbeek
marceloy

Re: Convert fails on network installation with No Decode Delegat

Post by marceloy »

Hi there,

I've got the same problem here, it seems ImageMagick doesn't work through network.

I tried the following:

Code: Select all

\\network_pc\ImageMagickDir\convert \\network_pc\images\input.jpg \\network_pc\images\output.jpg

convert: no decode delegate for this image format 'input.jpg'
convert: missing an image filename 'output.jpg'

Any clues?

[]'s
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Convert fails on network installation with No Decode Delegat

Post by magick »

Type

Code: Select all

  identify -list format
If JPEG is supported it will have a mode of rw-. If its not, it won't be listed as a supported image format. To add JPEG support to ImageMagick you must first install the JPEG delegate library and its headers before you run the configure script. Be sure to check the last few lines of the ImageMagick configure script and verify it validated the JPEG delegate library before you build / install ImageMagick.
marceloy

Re: Convert fails on network installation with No Decode Delegat

Post by marceloy »

Code: Select all

identify -list format

* native blob support
r read support
w write support
+ support for multiple images
PS.: The convertion works fine when it's local, but when I try to load the app though network I got the error.

My version is: ImageMagick-6.5.8-Q16

[]'s
marceloy

Re: Convert fails on network installation with No Decode Del

Post by marceloy »

Currently, if I type just

Code: Select all

\\network_pc\ImageMagickDir\convert
the help content is shown. But if I type

Code: Select all

\\network_pc\ImageMagickDir\convert \\network_pc\images\input.jpg \\network_pc\images\output.jpg
or even

Code: Select all

\\network_pc\ImageMagickDir\convert \\local\images\input.jpg \\local\images\output.jpg
I got that error:

Code: Select all

convert: no decode delegate for this image format 'input.jpg'
convert: missing an image filename 'output.jpg'
By the way, it works fine if I call it from within network_pc, but doesn't work if I call it from other network computer.

Any idea?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Convert fails on network installation with No Decode Del

Post by magick »

Add -debug configure to your command line. It tells you where ImageMagick is looking for its required configuration files.
marceloy

Re: Convert fails on network installation with No Decode Del

Post by marceloy »

This is the debug configure output.
I didn't understand it at all, but perhaps u can give me some light.

Code: Select all

C:\Documents and Settings\giap>\\S006\Sirf6i\ImageMagick-6.5.8-Q16\convert -debu
g configure C:\TEMP\C.JPG C:\TEMP\D.JPG > c:\temp\text.txt
2010-02-04T10:32:02-02:00 0:00.016 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
2010-02-04T10:32:02-02:00 0:00.016 0.000u 6.5.8 Configure convert[1128]: configu
re.c/GetConfigureOptions/564/Configure
  Searching for configure file: "C:\Documents and Settings\giap\.magick\coder.xm
l"
2010-02-04T10:32:02-02:00 0:00.031 0.000u 6.5.8 Configure convert[1128]: configu
re.c/GetConfigureOptions/564/Configure
  Searching for configure file: "\\S006\Sirf6i\ImageMagick-6.5.8-Q16\coder.xml"
2010-02-04T10:32:02-02:00 0:00.031 0.000u 6.5.8 Configure convert[1128]: configu
re.c/GetConfigureOptions/564/Configure
  Searching for configure file: "coder.xml"
2010-02-04T10:32:02-02:00 0:00.047 0.000u 6.5.8 Configure convert[1128]: coder.c
/LoadCoderList/690/Configure
  Loading coder configuration file "coder.xml" ...
2010-02-04T10:32:02-02:00 0:00.047 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
2010-02-04T10:32:02-02:00 0:00.047 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
2010-02-04T10:32:02-02:00 0:00.047 0.000u 6.5.8 Configure convert[1128]: configu
re.c/GetConfigureOptions/564/Configure
  Searching for configure file: "C:\Documents and Settings\giap\.magick\delegate
s.xml"
2010-02-04T10:32:02-02:00 0:00.047 0.000u 6.5.8 Configure convert[1128]: configu
re.c/GetConfigureOptions/564/Configure
  Searching for configure file: "\\S006\Sirf6i\ImageMagick-6.5.8-Q16\delegates.x
ml"
2010-02-04T10:32:02-02:00 0:00.063 0.000u 6.5.8 Configure convert[1128]: configu
re.c/GetConfigureOptions/564/Configure
  Searching for configure file: "delegates.xml"
2010-02-04T10:32:02-02:00 0:00.063 0.000u 6.5.8 Configure convert[1128]: delegat
e.c/LoadDelegateList/1222/Configure
  Loading delegate configuration file "delegates.xml" ...
2010-02-04T10:32:02-02:00 0:00.063 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.063 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.078 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.078 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.078 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.078 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.078 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.078 0.000u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.094 0.016u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.094 0.016u 6.5.8 Configure convert[1128]: nt-base
.c/NTLocateGhostscript/886/Configure
  Ghostscript ((null)) version 0.00
2010-02-04T10:32:02-02:00 0:00.094 0.016u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
2010-02-04T10:32:02-02:00 0:00.109 0.016u 6.5.8 Configure convert[1128]: utility
.c/ExpandFilenames/868/Configure
  Command line: \\S006\Sirf6i\ImageMagick-6.5.8-Q16\convert {-debug} {configure}
 {C:\TEMP\C.JPG} {C:\TEMP\D.JPG}
2010-02-04T10:32:02-02:00 0:00.125 0.016u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
2010-02-04T10:32:02-02:00 0:00.125 0.016u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
2010-02-04T10:32:02-02:00 0:00.125 0.016u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
2010-02-04T10:32:02-02:00 0:00.141 0.016u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
2010-02-04T10:32:02-02:00 0:00.141 0.016u 6.5.8 Configure convert[1128]: configu
re.c/GetConfigureOptions/564/Configure
  Searching for configure file: "C:\Documents and Settings\giap\.magick\magic.xm
l"
2010-02-04T10:32:02-02:00 0:00.141 0.016u 6.5.8 Configure convert[1128]: configu
re.c/GetConfigureOptions/564/Configure
  Searching for configure file: "\\S006\Sirf6i\ImageMagick-6.5.8-Q16\magic.xml"
2010-02-04T10:32:02-02:00 0:00.156 0.016u 6.5.8 Configure convert[1128]: configu
re.c/GetConfigureOptions/564/Configure
  Searching for configure file: "magic.xml"
2010-02-04T10:32:02-02:00 0:00.172 0.016u 6.5.8 Configure convert[1128]: magic.c
/LoadMagicList/674/Configure
  Loading magic configure file "magic.xml" ...
2010-02-04T10:32:02-02:00 0:00.172 0.016u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
2010-02-04T10:32:02-02:00 0:00.172 0.016u 6.5.8 Configure convert[1128]: nt-base
.c/NTRegistryKeyLookup/1534/Configure
  SOFTWARE\ImageMagick\6.5.8\Q:16
convert: no decode delegate for this image format `C:\TEMP\C.JPG' @ constitute.c
/ReadImage/530.
convert: missing an image filename `C:\TEMP\D.JPG' @ convert.c/ConvertImageComma
nd/2838.

C:\Documents and Settings\giap>

[]'s
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Convert fails on network installation with No Decode Del

Post by magick »

Its looking in the Windows registry for the location of its configuration files. These entries are set by the ImageMagick installer program. You may probably want the portable version of ImageMagick that does not depend on the Windows registry. See https://www.imagemagick.org/script/bina ... hp#windows.
marceloy

Re: Convert fails on network installation with No Decode Del

Post by marceloy »

Got it,

the portable version worked fine.

Actually, It took only the convert.exe file to work for convert and resize.


Thanks a lot magick.
Post Reply