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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
beyersdorfertj
Posts: 2
Joined: 2010-12-30T06:05:55-07:00
Authentication code: 8675308

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

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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)
beyersdorfertj
Posts: 2
Joined: 2010-12-30T06:05:55-07:00
Authentication code: 8675308

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

Post by beyersdorfertj »

convert logo: logo.tiff works fine.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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
Post Reply