mogrify: no decode delegate for this image format (PNG)
Posted: 2008-04-18T10:17:27-07:00
Hello,
We just installed and compliled the Unix version of ImageMagick 6.4.0 yesterday and we are having great difficulty getting it to run. I have a feeling that all it will take is creating a new environment variable or adding a path to an existing env variable.
I have the following environment variables set:
export MAGICK_HOME=/opt/freeware
export PATH=/opt/freeware/bin:$PATH
export LIBPATH=/opt/freeware/lib:$LIBPATH
export MAGICKCORE_CONFIGURE_PATH=/opt/freeware/lib/ImageMagick-6.4.0/config:/opt/freeware/share/ImageMagick-6.4.0/config:/opt/freeware/.magick:/opt/freeware/lib/ImageMagick-6.4.0
export MAGICK_TMPDIR=/tmp
export AF_LD_LIBRARY_PATH=/opt/freeware/lib:$AF_LD_LIBRARY_PATH
I run the following mogrify command:
mogrify -resize 1024x768 'Javalin_label08041410230713105736000.png'
I get the following results:
mogrify: no decode delegate for this image format `Javalin_label08041410230713105736000.png'.
As a step to debug this I ran the same mogrify command with -debug all and the following was returned.
********************************* START of DEBUG DUMP **************************************
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: utility.c/unknown/809/Configure
Command line: mogrify {-debug} {all} {-resize} {1024x768} {-quality} {80%} {Javalin_label08041410230713105736000.png}
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/lib/ImageMagick-6.4.0/config/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/config/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/doc/ImageMagick-6.4.0/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/home/users/jbain/.magick/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: coder.c/unknown/634/Configure
Loading coder map "/opt/freeware/share/ImageMagick-6.4.0/config/coder.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.010u 6.4.0 Module mogrify[2117814]: module.c/unknown/1074/Module
Searching for module "PNG" using filename "png.la"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Module mogrify[2117814]: module.c/unknown/479/Module
Searching for coder module file "png.la" ...
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/opt/freeware/lib/ImageMagick-6.4.0/config/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/opt/freeware/share/ImageMagick-6.4.0/config/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/opt/freeware/share/doc/ImageMagick-6.4.0/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/opt/freeware/share/ImageMagick-6.4.0/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/home/users/jbain/.magick/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Configure mogrify[2117814]: locale.c/unknown/831/Configure
Loading locale map "/opt/freeware/lib/ImageMagick-6.4.0/config/locale.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Configure mogrify[2117814]: locale.c/unknown/831/Configure
Loading locale map "/opt/freeware/lib/ImageMagick-6.4.0/config/english.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.110u 6.4.0 Exception mogrify[2117814]: module.c/unknown/1089/Exception
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Blob mogrify[2117814]: blob.c/unknown/2356/Blob
read 3 magic header bytes
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Module mogrify[2117814]: module.c/unknown/1074/Module
Searching for module "PNG" using filename "png.la"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Module mogrify[2117814]: module.c/unknown/479/Module
Searching for coder module file "png.la" ...
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Exception mogrify[2117814]: module.c/unknown/1089/Exception
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Cache mogrify[2117814]: cache.c/unknown/2162/Cache
destroy
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/lib/ImageMagick-6.4.0/config/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/config/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/doc/ImageMagick-6.4.0/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/home/users/jbain/.magick/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: magic.c/unknown/679/Configure
Loading magic map "/opt/freeware/share/ImageMagick-6.4.0/config/magic.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Module mogrify[2117814]: module.c/unknown/1074/Module
Searching for module "PNG" using filename "png.la"
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Module mogrify[2117814]: module.c/unknown/479/Module
Searching for coder module file "png.la" ...
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Exception mogrify[2117814]: module.c/unknown/1089/Exception
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Module mogrify[2117814]: module.c/unknown/1074/Module
Searching for module "PNG" using filename "png.la"
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Module mogrify[2117814]: module.c/unknown/479/Module
Searching for coder module file "png.la" ...
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Exception mogrify[2117814]: module.c/unknown/1089/Exception
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/lib/ImageMagick-6.4.0/config/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/config/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/doc/ImageMagick-6.4.0/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/home/users/jbain/.magick/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: delegate.c/unknown/1165/Configure
Loading delegate map "/opt/freeware/lib/ImageMagick-6.4.0/config/delegates.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.150u 6.4.0 Exception mogrify[2117814]: constitute.c/unknown/396/Exception
no decode delegate for this image format `Javalin_label08041410230713105736000.png'
mogrify: no decode delegate for this image format `Javalin_label08041410230713105736000.png'.
********************************** END of DEBUG DUMP **************************************
After combing through this debug dump I saw that it could not find the the png.la file:
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
This error doesn't make any sense because there is a file at that exact path. I can even go there and open it. NOTE: I have NOT made any changes to this file.
So, that is where I am at and I am stuck.
Can someone please shed some light on this for me?
We just installed and compliled the Unix version of ImageMagick 6.4.0 yesterday and we are having great difficulty getting it to run. I have a feeling that all it will take is creating a new environment variable or adding a path to an existing env variable.
I have the following environment variables set:
export MAGICK_HOME=/opt/freeware
export PATH=/opt/freeware/bin:$PATH
export LIBPATH=/opt/freeware/lib:$LIBPATH
export MAGICKCORE_CONFIGURE_PATH=/opt/freeware/lib/ImageMagick-6.4.0/config:/opt/freeware/share/ImageMagick-6.4.0/config:/opt/freeware/.magick:/opt/freeware/lib/ImageMagick-6.4.0
export MAGICK_TMPDIR=/tmp
export AF_LD_LIBRARY_PATH=/opt/freeware/lib:$AF_LD_LIBRARY_PATH
I run the following mogrify command:
mogrify -resize 1024x768 'Javalin_label08041410230713105736000.png'
I get the following results:
mogrify: no decode delegate for this image format `Javalin_label08041410230713105736000.png'.
As a step to debug this I ran the same mogrify command with -debug all and the following was returned.
********************************* START of DEBUG DUMP **************************************
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: utility.c/unknown/809/Configure
Command line: mogrify {-debug} {all} {-resize} {1024x768} {-quality} {80%} {Javalin_label08041410230713105736000.png}
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/lib/ImageMagick-6.4.0/config/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/config/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/doc/ImageMagick-6.4.0/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/home/users/jbain/.magick/coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "coder.xml"
2008-04-18T12:06:49-05:00 0:01 0.000u 6.4.0 Configure mogrify[2117814]: coder.c/unknown/634/Configure
Loading coder map "/opt/freeware/share/ImageMagick-6.4.0/config/coder.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.010u 6.4.0 Module mogrify[2117814]: module.c/unknown/1074/Module
Searching for module "PNG" using filename "png.la"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Module mogrify[2117814]: module.c/unknown/479/Module
Searching for coder module file "png.la" ...
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/opt/freeware/lib/ImageMagick-6.4.0/config/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/opt/freeware/share/ImageMagick-6.4.0/config/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/opt/freeware/share/doc/ImageMagick-6.4.0/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/opt/freeware/share/ImageMagick-6.4.0/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "/home/users/jbain/.magick/locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Locale mogrify[2117814]: locale.c/unknown/498/Locale
Searching for locale file: "locale.xml"
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Configure mogrify[2117814]: locale.c/unknown/831/Configure
Loading locale map "/opt/freeware/lib/ImageMagick-6.4.0/config/locale.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.020u 6.4.0 Configure mogrify[2117814]: locale.c/unknown/831/Configure
Loading locale map "/opt/freeware/lib/ImageMagick-6.4.0/config/english.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.110u 6.4.0 Exception mogrify[2117814]: module.c/unknown/1089/Exception
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Blob mogrify[2117814]: blob.c/unknown/2356/Blob
read 3 magic header bytes
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Module mogrify[2117814]: module.c/unknown/1074/Module
Searching for module "PNG" using filename "png.la"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Module mogrify[2117814]: module.c/unknown/479/Module
Searching for coder module file "png.la" ...
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Exception mogrify[2117814]: module.c/unknown/1089/Exception
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Cache mogrify[2117814]: cache.c/unknown/2162/Cache
destroy
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/lib/ImageMagick-6.4.0/config/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/config/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/doc/ImageMagick-6.4.0/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/home/users/jbain/.magick/magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "magic.xml"
2008-04-18T12:06:49-05:00 0:01 0.120u 6.4.0 Configure mogrify[2117814]: magic.c/unknown/679/Configure
Loading magic map "/opt/freeware/share/ImageMagick-6.4.0/config/magic.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Module mogrify[2117814]: module.c/unknown/1074/Module
Searching for module "PNG" using filename "png.la"
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Module mogrify[2117814]: module.c/unknown/479/Module
Searching for coder module file "png.la" ...
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Exception mogrify[2117814]: module.c/unknown/1089/Exception
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Module mogrify[2117814]: module.c/unknown/1074/Module
Searching for module "PNG" using filename "png.la"
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Module mogrify[2117814]: module.c/unknown/479/Module
Searching for coder module file "png.la" ...
2008-04-18T12:06:49-05:00 0:01 0.130u 6.4.0 Exception mogrify[2117814]: module.c/unknown/1089/Exception
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/lib/ImageMagick-6.4.0/config/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/config/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/doc/ImageMagick-6.4.0/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/opt/freeware/share/ImageMagick-6.4.0/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "/home/users/jbain/.magick/delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: configure.c/unknown/482/Configure
Searching for configure file: "delegates.xml"
2008-04-18T12:06:49-05:00 0:01 0.140u 6.4.0 Configure mogrify[2117814]: delegate.c/unknown/1165/Configure
Loading delegate map "/opt/freeware/lib/ImageMagick-6.4.0/config/delegates.xml" ...
2008-04-18T12:06:49-05:00 0:01 0.150u 6.4.0 Exception mogrify[2117814]: constitute.c/unknown/396/Exception
no decode delegate for this image format `Javalin_label08041410230713105736000.png'
mogrify: no decode delegate for this image format `Javalin_label08041410230713105736000.png'.
********************************** END of DEBUG DUMP **************************************
After combing through this debug dump I saw that it could not find the the png.la file:
unable to load module `/opt/freeware/lib/ImageMagick-6.4.0/modules-Q16/coders/png.la': file not found
This error doesn't make any sense because there is a file at that exact path. I can even go there and open it. NOTE: I have NOT made any changes to this file.
So, that is where I am at and I am stuck.
Can someone please shed some light on this for me?