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
November 2007

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

2007.11.21 18:52 "tag content size limit?", by Frank Warmerdam
2007.11.22 08:05 "Re: tag content size limit?", by Rob Van Den Tillaart
2007.12.08 05:51 "dpi settings", by Ron Croonenberg
2007.12.08 14:56 "Re: dpi settings", by Bob Friesenhahn
2007.12.08 18:34 "Re: dpi settings", by Ron Croonenberg
2007.12.08 20:39 "another rookie question", by Ron Croonenberg
2007.12.09 03:02 "Re: dpi settings", by Graeme Gill
2007.12.09 14:05 "Re: dpi settings", by Toby Thain
2007.12.09 14:44 "Re: dpi settings", by Graeme Gill
2007.12.09 15:03 "Re: dpi settings", by Toby Thain
2007.12.09 15:58 "Re: dpi settings", by Bob Friesenhahn
2007.12.09 16:04 "Re: dpi settings", by Toby Thain
2007.12.09 16:33 "Re: dpi settings", by Andrey Kiselev
2007.12.09 17:15 "Re: dpi settings", by Bob Friesenhahn
2007.12.09 18:39 "Re: dpi settings", by Andrey Kiselev
2007.12.09 18:54 "Re: dpi settings", by Toby Thain
2007.12.09 19:46 "Re: dpi settings", by Bob Friesenhahn
2007.12.10 01:01 "Re: dpi settings", by Graeme Gill
2007.12.10 01:43 "Re: dpi settings", by Toby Thain
2007.12.10 02:49 "Re: dpi settings", by Graeme Gill
2007.12.10 04:42 "Re: dpi settings", by Ron Croonenberg
2007.12.10 06:21 "Re: dpi settings", by Toby Thain
2007.12.10 02:10 "Re: dpi settings", by Ron Croonenberg
2007.12.10 02:54 "Re: dpi settings", by Graeme Gill

2007.12.08 14:56 "Re: dpi settings", by Bob Friesenhahn

On 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/