AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1996.12.11 02:01 "Confusing TIFF Tags", by Hugues Talbot
1996.12.11 10:17 "Re: Confusing TIFF Tags", by Niles Ritter
1996.12.11 18:31 "Re: Confusing TIFF Tags", by Sam Leffler

1996.12.11 02:01 "Confusing TIFF Tags", by Hugues Talbot

Hello All,

I'm confused by (at least) one thing in Sam's library. Some tags, like the SampleFormat tag (#339), which help interpret each data sample in a pixel, should be associated with as many values as there are samples per pixel, according to TIFFv6.0

Yet Sam's library allows to retrieve only one value for this tag per subimage, regardless of the number of samples. The TIFFGetField function should return an array of values, not a single one.

There are other examples, like SMinSampleValue, SMaxSampleValue, etc.

Is this a known libtiff limitation or is this a policy? in any case where can I find some documentation about these puzzling facts?

Thanks a lot.

  __________Hugues Talbot, CSIRO Maths & Info Sciences __________
 /                                                               \ 
|    ,-_|\     Down under, Locked Bag 17, North Ryde  NSW  2113  |
|   /     \                Ph: 61 2 9325 3224 Fax: 61 2 9325 3200|
|   \_,-._* <- There       (Building E6B, Macquarie University)  |
|        ,                 E-mail: hugues.talbot@cmis.csiro.au   |
|                          WWW: http://www.dms.csiro.au/~talbot  |
+-----------------------------------------------------------------+