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

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

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