| 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 |
Thread2009.07.02 18:18 "Re: (no subject)", by Bob Friesenhahn> Hello, > We are not able to correctly define the XRESOLUTION and YRESOLUTUON > properties when generating a TIFF image. The values seem to be correctly > established and the compilation and execution are right so that the image is > correctly generated. But when checking the DPI values, they are incorrect. > We attach the section of the code implied: > > *float xres, yres; >> xres = 300.0; >> yres = 200.0; >> TIFFSetField(out, TIFFTAG_RESOLUTIONUNIT, RESUNIT_INCH); >> TIFFSetField(out, TIFFTAG_XRESOLUTION, xres); >> TIFFSetField(out, TIFFTAG_YRESOLUTION, yres); Is there really supposed to be a '*' in front of 'float xres, yres'? Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||