AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.12.21 13:01 "[Tiff] Read X and Y Resolution", by Manuel_Galán
2004.12.21 13:07 "Re: [Tiff] Read X and Y Resolution", by Chris Losinger
2004.12.21 15:25 "Re: [Tiff] Read X and Y Resolution", by Joris

2004.12.21 15:25 "Re: [Tiff] Read X and Y Resolution", by Joris

when i define xres and yres as double i obtain 5.56078e-315
and when defined as integer i obtain 1125515264

Single is the correct Pascal datatype, that corresponds to the C datatype float.

For future reference, here's the URL of the complete list of tags and the datatypes expected by TIFFGetField:

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