| 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 |
Thread2004.09.01 08:50 "Re: DPI setting", by Patrick HarrisPoom, 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 |
|||||||