AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1998.12.30 20:12 "writing Xresolution and Yresolution", by Sim Zacks
1998.12.30 21:50 "Re: writing Xresolution and Yresolution", by Helge Blischke
1998.12.30 22:06 "RE: writing Xresolution and Yresolution", by Sim Zacks
1998.12.30 22:17 "Re: writing Xresolution and Yresolution", by Helge Blischke

1998.12.30 20:12 "writing Xresolution and Yresolution", by Sim Zacks

The Tiff 6.0 spec says that XResolution and Yresolution are Rationals which is 2 longs (one is divided by the other). I looked in Tiffcp, and TiffSplit and they are using floats for a Rational.

But when I try that, it doesn't seem to work. And when I look up what the tag is in other programs, it says 0. Is this a bug, or am I doing something wrong? How can I correctly set these fields?

Sim