AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.05.18 15:05 "[Tiff] Further doubt on bits per sample", by
2004.05.18 13:13 "Re: [Tiff] Further doubt on bits per sample", by Frank Warmerdam
2004.05.18 13:53 "Re: [Tiff] Further doubt on bits per sample", by Bob Friesenhahn
2004.05.19 11:05 "Re: [Tiff] Further doubt on bits per sample", by
2004.05.19 14:02 "Re: [Tiff] Further doubt on bits per sample", by Bob Friesenhahn
2004.05.19 14:05 "[Tiff] Further doubt on bits per sample", by
2004.05.19 09:49 "Re: [Tiff] Further doubt on bits per sample", by Andrey Kiselev
2004.05.21 10:16 "Re: [Tiff] Further doubt on bits per sample", by Gerben Vos

2004.05.18 15:05 "[Tiff] Further doubt on bits per sample", by

Hi,
Thanks for the reply,

I further have a doubt,

1. How does the bits per sample cases of 1,4 or 5 are handled by the libtiff library? Does the readstrip/readtile functions return the data, such that, the pixel values are always packed in byte boundaries?

i.e. for bits per sample case of 4, are two pixel values clubbed into one byte or one byte always contains one pixel value only?

Or lets say for bits per sample case of 5 or 9, a pixel value is contained in a byte or a word respectively.

2. Does the same scheme (as for readstrip/readtile) applies for writestrip/writetile functions?

Thanks,
Mayank