2004.11.04 06:42 "[Tiff] N TIFFTAG_TRANSFERFUNCTION", by Kai-Uwe Behrmann

2004.11.04 06:42 "[Tiff] N TIFFTAG_TRANSFERFUNCTION", by Kai-Uwe Behrmann

Hi,

How can I determine the size of TIFFTAG_TRANSFERFUNCTION to calculate the number of curves used by the tag. As stated in the spec 1 and 3 curves are both possible for RGB. For GRAY I would expect 1 curve is allways ok.

man TIFFGetField only says:
TIFFTAG_TRANSFERFUNCTION 1 or 3- uint16**1<<BitsPerSample entry arrays

Just to be shure, I dont exceede memory.

regards

Kai-Uwe Behrmann
                                + imaging development / panoramas
                                + color management
                                + email: ku.b@gmx.de