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 2003

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

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

2003.11.27 19:10 "Re: Bug in LogLuv", by Greg Ward

> 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:

	http://www.anyhere.com/gward/pixformat/tiffluv.html

If you need to convert to and from an RGB representation, you can 
follow the recommendations in my JGT paper:

	http://www.anyhere.com/gward/papers/jgtpap1.pdf

-Greg