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.
Sent: Monday, February 13, 2006 1:41 PM
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.
On 2/13/06 8:35 AM, "Grissom, Ed" <email@example.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?