| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.07.21 03:16 "Re: Tiff-Tags and Delphi7 / X and Y RESOLUTION / PHOTOMETRIC", by Joris Van DammeI wrote: > var > FirstPageXReso: Single; > begin > TIFFGetField(OpenTiff,TIFFTAG_XRESOLUTION,@FirstPageXReso); > > > TIFFSetField(tifbild, TIFFTAG_XRESOLUTION, FirstPageXReso); > > TIFFSetField(tifbild, TIFFTAG_YRESOLUTION, FirstPageYReso); > > For setting, too, Single values will be required. This information was wrong. See also http://www.asmail.be/msg0055048683.html Seems that we need Single to read the resolution tags with TIFFGetField, and a variable of type Double (as opposed to a direct value, or a variable of other type) to write with TIFFSetField. 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 |
|||||||