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
September 2008

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

2008.09.07 23:18 "SAMPLEFORMAT_IEEEFP", by <acanicio@astrosnap.com>
2008.09.07 23:34 "Re: SAMPLEFORMAT_IEEEFP", by Bob Friesenhahn
2008.09.08 06:33 "Re: SAMPLEFORMAT_IEEEFP", by <acanicio@astrosnap.com>
2008.09.08 10:07 "Re: SAMPLEFORMAT_IEEEFP", by <jcupitt@gmail.com>
2008.09.08 09:01 "Re: SAMPLEFORMAT_IEEEFP", by Kai-uwe Behrmann
2008.09.08 10:45 "Re: SAMPLEFORMAT_IEEEFP", by <acanicio@astrosnap.com>
2008.09.08 11:16 "Re: SAMPLEFORMAT_IEEEFP", by Kai-uwe Behrmann
2008.09.08 11:19 "Re: SAMPLEFORMAT_IEEEFP", by Axel Canicio
2008.09.08 23:07 "Re: SAMPLEFORMAT_IEEEFP", by Craig Bruce
2008.09.09 01:12 "Re: SAMPLEFORMAT_IEEEFP", by Chris Cox
2008.09.09 07:02 "Re: SAMPLEFORMAT_IEEEFP", by <acanicio@astrosnap.com>
2008.09.10 00:06 "Re: SAMPLEFORMAT_IEEEFP", by Chris Cox
2008.09.10 06:44 "Re: SAMPLEFORMAT_IEEEFP", by <acanicio@astrosnap.com>
2008.09.10 07:15 "Re: SAMPLEFORMAT_IEEEFP", by <jcupitt@gmail.com>
2008.09.10 19:48 "Re: SAMPLEFORMAT_IEEEFP", by Chris Cox
2008.09.10 20:46 "Re: SAMPLEFORMAT_IEEEFP", by <acanicio@astrosnap.com>
2008.09.11 05:31 "Re: SAMPLEFORMAT_IEEEFP", by Andrey Kiselev
2008.09.11 20:13 "Re: SAMPLEFORMAT_IEEEFP", by Charles Auer
2008.09.12 20:57 "Re: SAMPLEFORMAT_IEEEFP", by <acanicio@astrosnap.com>

2008.09.08 23:07 "Re: SAMPLEFORMAT_IEEEFP", by Craig Bruce

acanicio <acanicio@astrosnap.com> wrote:

> Please let me ask another question.
> I've had success in writing and reading various format tiff files, 8,16 and
> 32 bit UINT sampled RGB images.
>
> But I have no luck with floating point values. I use SAMPLEFORMAT_IEEEFP
> sample format along with 32 bits per sample. 
> All the pixel values are issued from an 8 bit/sample image, with no
> conversion or multiplication applied to them.
> When I open the file with some well known image editor, the image is
> completely saturated, all white with values 32767... 
> Where should I look ?

You'll probably have the best luck with float-32 samples if you rescale
them to values between 0.0 and 1.0.  Kind of sounds like your application
is taking the samples and multiplying by 255 (or 127?) while it loads them.

--------------------------+----------------------+--------------------------
Dr. Craig S. Bruce        | Ph 819-771-8303 x205 |             CubeWerx Inc.
Senior Software Developer |   Fax 819-771-8388   |  Gatineau, Québec, Canada
csbruce@cubewerx.com      |  http://csbruce.com/ |  http://www.cubewerx.com/
--------------------------+----------------------+--------------------------
        "When all is said and done, usually more is said than done."