AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.12.11 02:06 "[Tiff] TIFF Pyramid", by Eric Vergnaud
2004.12.11 15:35 "Re: [Tiff] TIFF Pyramid", by Bob Friesenhahn
2004.12.12 11:53 "Re: [Tiff] TIFF Pyramid", by Eric Vergnaud
2004.12.12 16:57 "Re: [Tiff] TIFF Pyramid", by Bob Friesenhahn
2004.12.12 19:06 "Re: [Tiff] TIFF Pyramid", by Eric Vergnaud
2004.12.13 15:07 "RE: [Tiff] TIFF Pyramid", by Ed Grissom
2004.12.13 15:16 "Re: [Tiff] TIFF Pyramid", by Eric Vergnaud
2004.12.14 20:30 "Re: [Tiff] TIFF Pyramid", by Andrey Kiselev
2004.12.13 15:16 "RE: [Tiff] TIFF Pyramid", by Ed Grissom
2004.12.11 17:41 "Re: [Tiff] TIFF Pyramid", by Joris Van Damme
2004.12.12 11:56 "Re: [Tiff] TIFF Pyramid", by Eric Vergnaud
2004.12.13 02:45 "Re: [Tiff] TIFF Pyramid", by Joris Van Damme
2004.12.13 06:38 "Re: [Tiff] TIFF Pyramid", by Andrey Kiselev
2004.12.13 09:56 "Re: [Tiff] TIFF Pyramid", by Eric Vergnaud
2004.12.13 11:38 "Re: [Tiff] TIFF Pyramid", by Joris Van Damme
2004.12.13 12:32 "Re: [Tiff] TIFF Pyramid", by Joris Van Damme
2004.12.13 13:54 "Re: [Tiff] TIFF Pyramid", by Eric Vergnaud

2004.12.13 13:54 "Re: [Tiff] TIFF Pyramid", by Eric Vergnaud

In the first image IFD, the SubIFDs tag is set with value 3, and that yields a file with one main (biggest) image and 3 downsample SubIFDs. If I change the value 3 of the SubIFDs tag to e.g. 2, it works as expected, one main image is written, 2 SubIFDs are linked to that main image, and the last is again written as a top-level IFD.

I just noticed, it doesn't actually produce a SubIFD chain, but a SubIFD array. Meaning, the first SubIFD doesn't point to the second etc, but all SubIFDs are directly pointed to from the SubIFD tag.

I do think that's uncommon, but it's valid, I think, according to the specification supplement that described SubIFDs tag.

Ok, I'll have a look at this in the next few days and let you know.

-------------------------------
Eric VERGNAUD - JLynx Software
Cutting-edge technologies and
services for software companies
web: http://www.jlynx.com
-------------------------------