| 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 |
Thread1998.12.30 22:17 "Re: writing Xresolution and Yresolution", by Helge BlischkeSim Zacks wrote: > > I am using TiffSetField, I basiclly copied the CopyField routine from > tiffcp and tiffsplit. > I put the ResolutionUnit before the Resolutions and it didn't make any > difference. It still comes out with 0. > Any other thoughts? > > Sim Sim, the TIFFSetField function stores the value as a double (the TIFF IFD is still in memory. Only when the IDF is written to the output file using TIFFWriteDirectory, the values are converted as needed (see tif_dirwrite.c). Helge -- H.Blischke@srz-berlin.de H.Blischke@srz-berlin.com H.Blischke@acm.org |
|||||||