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
September 2004

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

2004.09.01 05:23 "DPI setting", by <poom@kosugi-msoft.jp>
2004.09.01 08:50 "Re: DPI setting", by Patrick Harris
2004.09.01 08:59 "Re: DPI setting", by <poom@kosugi-msoft.jp>
2004.09.01 17:08 "Re: DPI setting", by Andrey Kiselev
2004.09.01 13:55 "Re: DPI setting", by Frank Warmerdam

2004.09.01 08:50 "Re: DPI setting", by Patrick Harris

Poom,

I made exactly the same mistake. The tags TIFFTAG_XRESOLUTION
and TIFFTAG_YRESOLUTION expect floating point values so by passing an
integer value of 300 the library will not correctly set the tags. Try
casting to float type static_cast< float >( 300 ) as this fixed it for
me.
 
HTH

Patrick