
Thread
2006.02.13 20:58 "RE: [Tiff] question about planar tiffs", by Ed Grissom
Ahhh... I thought Michael was referring to the on-disk structure of the data.
I agree that the logical structure is ALL red followed by ALL green, etc.
--
ed grissom
ed.grissom@intergraph.com
_____
From: tiff-bounces@lists.maptools.org
[mailto:tiff-bounces@lists.maptools.org]
Sent: Monday, February 13, 2006 1:41 PM
To: TIFF
Subject: Re: [Tiff] question about planar tiffs
Try writing a planar TIFF with Photoshop CS2.
Then look at the structure.
The location on disk doesn't matter - but the logical location (strip offsets and counts) DOES matter.
Chris
On 2/13/06 8:35 AM, "Grissom, Ed" <ed.grissom@intergraph.com> wrote:
I think I am misunderstanding someone here.
If you have three components (RGB), then (with Planar Configuration==2) the number of strips must be a multiple of three. Michael's 6 strip organization looks fine.
I don't understand what Chris is trying to say. The TIFF spec explicitly says that the red, green, and blue strips can be interleaved. There is no requirement where the data is on disk, just that the StripOffsets and StripByteCounts must be segregated with all the red pointers first, followed by all the green pointers etc. The data can be anywhere in the file, interleaved (by strip) or segregated -- writer's choice.
What am I missing?