| 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 |
Thread2007.12.08 14:56 "Re: dpi settings", by Bob FriesenhahnOn Sat, 8 Dec 2007, Ron Croonenberg wrote: > Hello, > > Is there a way to set the dpi settings for/in a tiff file ? (and if so > how do I do set them ?) Yes. Use the TIFF tags TIFFTAG_RESOLUTIONUNIT, TIFFTAG_XRESOLUTION, and TIFFTAG_YRESOLUTION with the TIFFSetField() function. TIFFTAG_RESOLUTIONUNIT supports the values RESUNIT_NONE, RESUNIT_INCH, or RESUNIT_CENTIMETER. If you mean to do this from the command line, then see the documentation for the 'tiffset' utilitity. This documentation even comes with an example for how to set the resolution. Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||