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

  xres, yres: integer;

    TIFFGetField(han, TIFFTAG_XRESOLUTION,@xres);
    TIFFGetField(han, TIFFTAG_yRESOLUTION,@yres);

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

resolution is passed as a C "float", a four-byte floating point value.


Chris Losinger
smallest@smalleranimals.com          http://www.smalleranimals.com