AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.11.18 18:05 "[Tiff] Using TIFFGetField to get a "Rational"", by Stephen Billard
2004.11.18 19:40 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Ulf Zibis
2004.11.18 19:48 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris
2004.11.23 14:58 "[Tiff] Using TIFFGetField to get a "Rational"", by Frank Warmerdam
2004.11.23 20:34 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Andrey Kiselev
[...]

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

I am having no luck with the X & Y Resolutions. I suspect that I don't know what kind of variable to receive the "Rational" result. I tried a Real and got garbage back. What should I be using? (I get no errors back from calling TIFFGetField.)

You can find a complete list of expected datatypes here:

http://www.remotesensing.org/libtiff/man/TIFFGetField.3t.html

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be

Download your free TIFF tag viewer for windows here: http://www.awaresystems.be/imaging/tiff/astifftagviewer.html