AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.10.20 18:40 "[Tiff] the BitsPerSymbol tag", by Sachin Garg
2004.10.20 19:51 "Re: [Tiff] the BitsPerSymbol tag", by Frank Warmerdam
2004.10.28 12:03 "[Tiff] why does tiffcp::cpSeparateBufToContigBuf takes BYTES_per_sample as parameter?", by Sachin Garg
2004.11.04 11:33 "[Tiff] Support for DNG tags", by Sachin Garg
[...]

2004.10.20 18:40 "[Tiff] the BitsPerSymbol tag", by Sachin Garg

>From the Tiff6 documentation, it seems that a tiff image is supposed to have a BitsPerSymbol value for each sample in the image.

But from TiffDirectory implementation, it seems that we hold a single "uint16 td_bitspersample" value for all samples.

Is it that all samples always have same bit-depth? it doesnt seems that way for documentation, for example it says that a 16-bit image usally has 5/6/5 bits per sample.

I also noticed a "uint16* td_sampleinfo;" in TiffDirectory, is it something related to this?

--
Sachin Garg [India]

http://www.geocities.com/schngrg