2008.04.16 23:03 "Re: [Tiff] Floating Point Tiff Format?", by John
2008/4/16 Fred Weinhaus <fmw@alink.net>:
I was wondering if libtiff supports floating point format tiff? I am interested in both floating point grayscale images and floating point RGB images?
Just set TIFFTAG_SAMPLEFORMAT to SAMPLEFORMAT_IEEEFP and you can read and write single-precision IEEE floats. There's also a SAMPLEFORMAT_COMPLEXIEEEFP, but I've not used it myself.
John