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:55 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme
2004.11.18 20:16 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Eric Vergnaud
2004.11.18 22:30 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme
2004.11.19 00:17 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Eric Vergnaud
2004.11.19 00:35 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Bob Friesenhahn
2004.11.19 00:49 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Eric Vergnaud
2004.11.19 00:52 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme
2004.11.19 01:29 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Bob Friesenhahn
2004.11.19 01:38 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme
2004.11.19 00:42 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme
2004.11.23 20:35 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Andrey Kiselev
2004.11.19 17:29 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Ulf Zibis
2004.11.19 17:43 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Bob Friesenhahn
2004.11.19 21:26 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme
2004.11.20 15:21 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Ulf Zibis
2004.11.20 16:57 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Bob Friesenhahn
2004.11.20 17:27 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme
2004.11.20 17:35 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Chris Losinger
2004.11.18 19:48 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme
2004.11.23 14:58 "[Tiff] Using TIFFGetField to get a "Rational"", by Frank Warmerdam
2004.11.23 15:29 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Eric Vergnaud
2004.11.23 20:34 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Andrey Kiselev

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

I am new to LibTIFF. I want to get the ResolutionUnit, XResolution, and YResolution from a TIFF file. I have no problem getting the Resolution unit. (Although I did see a strange behavior. If I had not initialized the variable that receives the ResolutionUnit value before calling TIFFGetField, I did not get back the value. If I initialize the variable to 0, I get back the correct unit.)

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.)

-Stephen
 www.sbillard.org/Stephen