Page 1 of 1

no decode delegate for this image format "..blah.tiff"

Posted: 2007-06-26T12:47:12-07:00
by wealthychef
Help! :-) Thanks. This is with ImageMagick 6.3.4 running on AIX 5. I don't know how to troubleshoot this problem. Looks like something is hosed about the installation results.

========================================================
Hi, on my AIX machine, I get the following error:

cook@up041 (ImageMagick): 6.3.4/aix_5_64_fed/bin/display ~/dataAndImages/test.tiff
display: no decode delegate for this image format `/g/g0/rcook/dataAndImages/test.tiff'.
display: unable to open image `logo:': No such file or directory.

========================================================
Same for convert:

rcook@up041 (ImageMagick): 6.3.4/aix_5_64_fed/bin/convert ~/dataAndImages/test.tiff test.png
convert: no decode delegate for this image format `/g/g0/rcook/dataAndImages/test.tiff'.
convert: missing an image filename `test.png'.

========================================================
But it looks like it should work, since there is a tiff entry in delegates.

rcook@up041 (ImageMagick): 6.3.4/aix_5_64_fed/bin/convert -list configure

Path: /usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed/lib/ImageMagick-6.3.4/config/configure.xml

Name Value
-------------------------------------------------------------------------------
CC gcc
CFLAGS -I/usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed/include -L/usr/global/tools/ImageMagick/6.3.4
/aix_5_64_fed/lib -Wall -W -D_THREAD_SAFE
CONFIGURE ./configure /usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed/share/config.site /usr/global/tools
/ImageMagick/6.3.4/aix_5_64_fed/etc/config.site
COPYRIGHT Copyright (C) 1999-2007 ImageMagick Studio LLC
CPPFLAGS -I/usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed/include
CXX g++
CXXFLAGS -I/usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed/include -L/usr/global/tools/ImageMagick/6.3.4
/aix_5_64_fed/lib -Wall -W -D_THREAD_SAFE
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib fontconfig freetype jpeg png tiff x11 zlib
DISTCHECK_CONFIG_FLAGS 'CC=gcc' 'CFLAGS=-I/usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed/include -L/usr/glob
al/tools/ImageMagick/6.3.4/aix_5_64_fed/lib' 'CPPFLAGS=-I/usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed/incl
ude -L/usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed/lib' 'CXX=g++' 'LDFLAGS=-L/usr/global/tools/ImageMagick
/6.3.4/aix_5_64_fed/lib: -lm' --disable-deprecate --with-quantum-depth=16 --with-fpx=no --with-fontpath= --wit
h-xml=no
EXEC-PREFIX /usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed
HOST powerpc-ibm-aix5.3.0.0
LDFLAGS -L/usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed/lib -L/usr/global/tools/ImageMagick/6.3.4/aix
_5_64_fed/lib: -lm -L/opt/freeware/lib -lfreetype -lz -lm
LIB_VERSION 0x634
LIB_VERSION_NUMBER 6,3,4,6
LIBS -lMagick -ltiff -lfreetype -ljpeg -L/opt/freeware/lib -lfontconfig -lXext -lSM -lICE -lX11 -lXt
-lbz2 -lz -lm -lpthreads -lm -lpthreads
NAME ImageMagick
PCFLAGS
PREFIX /usr/global/tools/ImageMagick/6.3.4/aix_5_64_fed
QuantumDepth 16

Re: no decode delegate for this image format "..blah.tiff"

Posted: 2007-07-06T17:52:54-07:00
by wealthychef
Lucky me! 226 views and two weeks later -- nobody has a clue or nobody cares! :-|

Re: no decode delegate for this image format "..blah.tiff"

Posted: 2007-07-08T02:28:33-07:00
by martinw17
Do you have libtiff installed?

Check the output of configure when installing IM - this will tell you whether or not libtiff was found. If not, then you need to install it and then reconfigure/build/install IM.

Re: no decode delegate for this image format "..blah.tiff"

Posted: 2007-07-08T09:34:27-07:00
by wealthychef
I sure do. If you look closely at the output of the LIBS variable in the .la file, you can see that ImageMagick put -ltiff there, and the DELEGATES variable includes "tiff." I checked config.log and it seemed to find tiff ok with all tests passed.

Here is some select output from the configure script:

-------------------------------------------------------------
Checking for TIFF support
-------------------------------------------------------------
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFOpen in -ltiff... yes
checking for TIFFClientOpen in -ltiff... yes
checking for TIFFIsByteSwapped in -ltiff... yes
checking for TIFFReadRGBATile in -ltiff... yes
checking for TIFFReadRGBAStrip in -ltiff... yes
checking if TIFF package is complete... yes
checking tiffconf.h usability... yes
checking tiffconf.h presence... yes
checking for tiffconf.h... yes
checking for TIFFMergeFieldInfo... yes
checking for TIFFSetTagExtender... yes


and :


Delegate Configuration:
BZLIB --with-bzlib=yes yes
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=yes yes
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
Ghostscript None gs (8.11)
Ghostscript fonts --with-gs-font-dir=default /usr/local/share/ghostscript/fonts/
Ghostscript lib --with-gslib=yes no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=no no
PNG --with-png=yes yes
RSVG --with-rsvg=yes no
TIFF --with-tiff=yes yes
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x= yes
XML --with-xml=no no
ZLIB --with-zlib=yes yes

Re: no decode delegate for this image format "..blah.tiff"

Posted: 2007-08-22T21:36:29-07:00
by anthony
Probably a different environement or environment variables. Especuilly librarys involved with decoding and encoding specific file formats.