AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.11.26 14:17 "[Tiff] Bug in LogLuv", by Antonio Scuri
2003.11.26 16:31 "[Tiff] Re: Bug in LogLuv", by Greg Ward
2003.11.26 17:41 "[Tiff] Re: Bug in LogLuv", by Antonio Scuri
2003.11.26 17:54 "[Tiff] Re: Bug in LogLuv", by Greg Ward
2003.11.27 15:10 "[Tiff] Re: Bug in LogLuv", by Andrey Kiselev
2003.11.27 15:23 "[Tiff] Re: Bug in LogLuv", by Kai-Uwe Behrmann
2003.11.27 15:48 "[Tiff] Re: Bug in LogLuv", by Antonio Scuri
2003.11.27 16:01 "[Tiff] Re: Bug in LogLuv", by Kai-Uwe Behrmann
2003.11.27 19:10 "[Tiff] Re: Bug in LogLuv", by Greg Ward

2003.11.27 15:48 "[Tiff] Re: Bug in LogLuv", by Antonio Scuri

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.

Use the pseudo tag TIFFTAG_SGILOGDATAFMT to force the returned data to be what you want:

Notice that you should set this tag before consulting BitsPerSample and SampleFormat, because they will be changed internally when the tag is set.

But in the TIFFRGBAImageBegin function it is hardcoded an SGILOGDATAFMT_8BIT conversion. If you use the TIFFRGBAImage interface you should be aware of that.

Best,
scuri