AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 1998

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

1998.12.30 20:12 "writing Xresolution and Yresolution", by Sim Zacks
1998.12.30 21:50 "Re: writing Xresolution and Yresolution", by Helge Blischke
1998.12.30 22:06 "Re: writing Xresolution and Yresolution", by Sim Zacks
1998.12.30 22:17 "Re: writing Xresolution and Yresolution", by Helge Blischke

1998.12.30 22:17 "Re: writing Xresolution and Yresolution", by Helge Blischke

Sim 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