2004.11.18 18:05 "[Tiff] Using TIFFGetField to get a "Rational"", by Stephen Billard

2004.11.18 19:55 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme

When I remember right, you get to values, and must interpret them as divident/divisor

That is certainly true on the TIFF tag value level. However, if I remember correctly, LibTiff does that already, and returns the value as a Float. That seems backed up by the link I mentioned in my other mail in this thread.

Perhaps someone with a normal LibTiff compilation could doublecheck. I'm getting good results in LibTiffDelphi passing a pointer to a pascal Single, and I do think that the C equivalent of that is Float, but it would nice if someone doublechecked.

Joris Van Damme
Download your free TIFF tag viewer for windows here: