
Thread
1998.12.30 22:17 "Re: writing Xresolution and Yresolution", by Helge Blischke
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,
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