2003.11.27 19:10 "[Tiff] Re: Bug in LogLuv", by Greg Ward
> From: Kai-Uwe Behrmann <email@example.com>
> Date: November 27, 2003 7:23:54 AM PST
Is there an option in libtiff to convert Your format to 32-bit floats or 16-bit ints other than the 8-bit output I optain currently with libtiffs fallback functionality?
This would help me supporting this format in cinepaint.
To talk to the library in 32-bit floats (CIE XYZ components or Y for grayscale), you need to set the tag:
TIFFSetField(tif, TIFFTAG_SGILOGDATAFMT, SGILOGDATAFMT_FLOAT);
This and other tips are available on my web pages at:
If you need to convert to and from an RGB representation, you can follow the recommendations in my JGT paper: