AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.05.09 14:30 "Orientation and Tiled images?", by Michael O'Rourke
2002.05.09 15:24 "Re: Orientation and Tiled images?", by Jon Saxton
2002.05.09 16:10 "Re: Orientation and Tiled images?", by Peter Nielsen
2002.05.09 22:04 "Re: Orientation and Tiled images?", by Michael O'Rourke
2002.05.10 10:10 "Re: Orientation and Tiled images?", by Andrey Kiselev
2002.05.10 13:01 "Re: Orientation and Tiled images?", by Peter Nielsen
2002.05.10 13:29 "Re: Orientation and Tiled images?", by Michael O'Rourke
2002.05.10 15:21 "Re: Orientation and Tiled images?", by Andrey Kiselev
2002.05.13 19:12 "Re: Orientation and Tiled images?", by Antonio E. Scuri
2002.05.13 20:43 "Fwd: Re: tsmAPI and LibTIFF", by Antonio E. Scuri
2002.05.13 21:36 "Re: Fwd: Re: tsmAPI and LibTIFF", by Peter Nielsen

2002.05.13 21:36 "Re: Fwd: Re: tsmAPI and LibTIFF", by Peter Nielsen

They definitely don't do this right. The TIFF orientation is for the image as a whole. It is NOT strip or tile specific. If it was, then this concept would also apply to multi-strip images (!) and we would need strip/tile specific processing.

"JPEG assumes a top-left origin and so any TIFF viewer will flip each tile"

This is not correct thinking. This statement applies to a JFIF image as a whole. We must not apply this thinking on partial ("raw") JPEG data.

Note that the statement also implies that the image is always stored consequtivelty from row 0 to row N. This part of the statement is true and is also quite relevant for strip/tile storage! Unfortunately, their implementation does not follow this. They have implemented an ordering where the rows no longer appear consequtivelty (4321|8765|...). The row and column order ordering for strips and tiles should always be (1234|5678|...) or (...|8765|4321).

Think of it like this: The TIFF data stream defines a two dimensional image [0..X, 0..Y]. The TIFF orientation only tells where the origin [0,0] is placed! That's all it does. It should not cause any inter-strip or inter- tile changes.

Best regards,
Peter Nielsen