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
March 2005

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

2005.03.19 15:35 "Floating Point Sample Format", by Charles Auer
2005.03.19 16:23 "Re: Floating Point Sample Format", by Frank Warmerdam
2005.03.21 19:51 "Re: Floating Point Sample Format", by Chris Cox
2005.03.21 20:56 "Re: Floating Point Sample Format", by Frank Warmerdam
2005.03.21 21:12 "Re: Floating Point Sample Format", by Chris Cox
2005.03.21 23:26 "Re: Floating Point Sample Format", by Joris Van Damme

2005.03.21 21:12 "Re: Floating Point Sample Format", by Chris Cox

At 3:56 PM -0500 3/21/05, Frank Warmerdam wrote:
> On Mon, 21 Mar 2005 11:51:16 -0800, Chris Cox wrote:
> > Those tags aren't supposed to be used for scaling anyway - they're
> > only for information. (see the TIFF spec)
>
> I did notice the comment in the Spec that the SMINSAMPLEVALUE
> and SMAXSAMPLEVALUE aren't supposed to be used for scaling.
> Do you have any idea why that comment is there?

Yes, because that's what the tag means.
It's not a comment, it's a definition.


> I have always taken these fields as ok to use for scaling,

And we've found that they're not OK (I tried it once as a solution to 
some badly written files, and had to back it out because of other 
badly written files).


> but with the caveat that they may not be terrible appropriate.  But 
> if we want to avoid a prescanning step it would seem like a good 
> first guess at scaling values.

It's better to scan as you read, or define other metadata for how to 
present/display the image (because linear scaling usually isn't the 
best idea).

Chris