Page 1 of 1

convert fails: "no decode delegate for this image format"

Posted: 2010-12-30T06:37:12-07:00
by beyersdorfertj
I try to convert an image to pyrmidal format using the command:
>convert D:\images\test-input\1234567_00006.tif -define tiff:tile-geometry=256x256 -compress jpeg -quality 75 'ptif:D:\images\test-input\1234567_00006a.tif' -format:TIFF

As result I get an error I've no idea what it means :? :
Magick: no decode delegate for this image format `D:\images\test-input\1234567_00006a.tif'' @ error/constitute.c/ReadImage/532.

"convert -list configure" gives following:

Path: [built-in]

Name Value
-------------------------------------------------------------------------------
NAME ImageMagick

Path: C:\Program Files\ImageMagick\config\configure.xml

Name Value
-------------------------------------------------------------------------------
CC vs8
COPYRIGHT Copyright (C) 1999-2011 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
FEATURES OpenMP
HOST Windows
LIB_VERSION 0x666
LIB_VERSION_NUMBER 6,6,6,8
NAME ImageMagick
RELEASE_DATE 2011-01-01
VERSION 6.6.6
WEBSITE http://www.imagemagick.org

Path: configure.xml

Name Value
-------------------------------------------------------------------------------
CC vs8
COPYRIGHT Copyright (C) 1999-2011 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
FEATURES OpenMP
HOST Windows
LIB_VERSION 0x666
LIB_VERSION_NUMBER 6,6,6,8
NAME ImageMagick
RELEASE_DATE 2011-01-01
VERSION 6.6.6
WEBSITE http://www.imagemagick.org

Re: convert fails: "no decode delegate for this image format

Posted: 2010-12-30T10:53:28-07:00
by fmw42
-format:TIFF does nothing in your command line and may be confusing things.

How did you compile IM? From source or from binary? If from source, then you may need to compile the delegates for tiff, though I am not sure if that is needed for Windows. Sorry I am a Mac/unix person and don't know the ins and outs of Windows compilation. But it seems your compile may be missing the tif delegate or not compiled correctly.

Can you convert any other image:

convert logo: logo.tiff

(logo: is an internal IM image)

Re: convert fails: "no decode delegate for this image format

Posted: 2010-12-30T14:52:21-07:00
by beyersdorfertj
convert logo: logo.tiff works fine.

Re: convert fails: "no decode delegate for this image format

Posted: 2010-12-30T17:30:09-07:00
by fmw42
this works for me without errors and produces several "frames" for the pyramid structure with size 64x64. the original image was 256x256

IM 6.6.6.8 Q16 (hdri)

convert zelda2.tiff -define tiff:tile-geometry=64x64 -compress jpeg -quality 75 PTIF:zelda2_ptif64.tif


perhaps you need to upgrade your libtif delegate and recompile IM