AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
November 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.11.04 06:42 "N TIFFTAG_TRANSFERFUNCTION", by Kai-uwe Behrmann
2004.11.04 08:21 "Re: N TIFFTAG_TRANSFERFUNCTION", by Kai-uwe Behrmann
2004.11.04 08:38 "Re: N TIFFTAG_TRANSFERFUNCTION", by Ross A Finlayson
2004.11.04 09:00 "Re: N TIFFTAG_TRANSFERFUNCTION", by Kai-uwe Behrmann

2004.11.04 08:21 "Re: N TIFFTAG_TRANSFERFUNCTION", by Kai-uwe Behrmann

Thanks, have found it. Testing of the pointers for zero should do.

if (TIFFGetField (tiff, TIFFTAG_TRANSFERFUNCTION,
                  &r_uint16, &g_uint16, &b_uin16) )
    if (r_uin16)
        // there is at least one kurve
    if (r_uint16 && g_uin16 && b_uint16)
        // there are 3 curves

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