AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.06.15 16:55 "[Tiff] about TIF_RATIONAL SIZE", by He Yang
2012.06.15 17:03 "Re: [Tiff] about TIF_RATIONAL SIZE", by Frank Warmerdam
2012.06.15 17:08 "Re: [Tiff] about TIF_RATIONAL SIZE", by Olivier Paquet

2012.06.15 17:03 "Re: [Tiff] about TIF_RATIONAL SIZE", by Frank Warmerdam

On Fri, Jun 15, 2012 at 9:55 AM, He Yang <he-yang@live.com> wrote: > Hi guys

In the tiff.h, the comments says the TIF_RATIONAL is 64bit, but in the return value of is 4 bytes which is 32 bit. Why? > tif_dirinfo.c,

Which is correct?

He,

I believe in the file TIFF_RATIONAL is represented as a ratio of two 4byte integers. It isn't clear what from tif_dirinfo.c makes you think it is a 32bit value.

Best regards,

--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer