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
June 1999

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

1999.06.17 00:07 "Controlling Rational Values", by Tom Denny
1999.06.20 21:19 "Re: Controlling Rational Values", by Niles Ritter
1999.06.21 05:53 "Re: Controlling Rational Values", by Bjorn Brox
1999.06.21 07:12 "Re: Controlling Rational Values", by Niles Ritter
1999.06.21 07:48 "Re: Controlling Rational Values", by Bjorn Brox

1999.06.17 00:07 "Controlling Rational Values", by Tom Denny

Does anyone know of a way to explicitly set which numerator and denominator
get used when setting rational TIFF Tags?

For example, I'm setting the YRESOLUTION tag to 200 which I pass to
TIFFSetField as a float.  Libtiff stores the value 419430400 as the
numerator and 2097152 as the denominator in the YRESOLUTION tag.  This, of
course, is correct; however, I was hoping I could store 200 as the numerator
and 1 as the denominator.

I found a reader which incorrectly assumes the denominator is 1 and I would
like to make compatible TIFF images if it's easy enough to control.

Thanks!
-Tom