xref: /libtiff-4.0.7/html/man/tiffset.1.html (revision f714980a)
1<!-- Creator     : groff version 1.19.2 -->
2<!-- CreationDate: Mon Jan  2 17:41:59 2006 -->
3<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
4"http://www.w3.org/TR/html4/loose.dtd">
5<html>
6<head>
7<meta name="generator" content="groff -Thtml, see www.gnu.org">
8<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
9<meta name="Content-Style" content="text/css">
10<style type="text/css">
11       p     { margin-top: 0; margin-bottom: 0; }
12       pre   { margin-top: 0; margin-bottom: 0; }
13       table { margin-top: 0; margin-bottom: 0; }
14</style>
15<title>TIFFSET</title>
16
17</head>
18<body>
19
20<h1 align=center>TIFFSET</h1>
21
22<a href="#NAME">NAME</a><br>
23<a href="#SYNOPSIS">SYNOPSIS</a><br>
24<a href="#DESCRIPTION">DESCRIPTION</a><br>
25<a href="#OPTIONS">OPTIONS</a><br>
26<a href="#EXAMPLES">EXAMPLES</a><br>
27<a href="#SEE ALSO">SEE ALSO</a><br>
28
29<hr>
30
31
32<a name="NAME"></a>
33<h2>NAME</h2>
34
35
36<p style="margin-left:11%; margin-top: 1em">tiffset &minus;
37set a field in a <small>TIFF</small> header</p>
38
39<a name="SYNOPSIS"></a>
40<h2>SYNOPSIS</h2>
41
42
43<p style="margin-left:11%; margin-top: 1em"><b>tiffset</b>
44[ options ] <i>filename.tif</i></p>
45
46<a name="DESCRIPTION"></a>
47<h2>DESCRIPTION</h2>
48
49
50<p style="margin-left:11%; margin-top: 1em"><i>Tiffset</i>
51sets the value of a <small>TIFF</small> header to a
52specified value.</p>
53
54<a name="OPTIONS"></a>
55<h2>OPTIONS</h2>
56
57
58<p style="margin-left:11%; margin-top: 1em"><b>&minus;s
59tagnumber [count] value ...</b></p>
60
61<p style="margin-left:22%;">Set the value of the named tag
62to the value or values specified.</p>
63
64<p style="margin-left:11%;"><b>&minus;sf tagnumber
65filename</b></p>
66
67<p style="margin-left:22%;">Set the value of the tag to the
68contents of filename. This option is supported for ASCII
69tags only.</p>
70
71<a name="EXAMPLES"></a>
72<h2>EXAMPLES</h2>
73
74
75<p style="margin-left:11%; margin-top: 1em">The following
76example sets the image description tag (270) of a.tif to the
77contents of the file descrip:</p>
78
79<p style="margin-left:22%;">tiffset -sf 270 descrip
80a.tif</p>
81
82<p style="margin-left:11%; margin-top: 1em">The following
83example sets the artist tag (315) of a.tif to the string
84&quot;Anonymous&quot;:</p>
85
86<p style="margin-left:22%;">tiffset -s 305 Anonymous
87a.tif</p>
88
89<p style="margin-left:11%; margin-top: 1em">This example
90sets the resolution of the file a.tif to 300 dpi:</p>
91
92<p style="margin-left:22%;">tiffset -s 296 2 a.tif <br>
93tiffset -s 282 300.0 a.tif <br>
94tiffset -s 283 300.0 a.tif</p>
95
96<a name="SEE ALSO"></a>
97<h2>SEE ALSO</h2>
98
99
100
101<p style="margin-left:11%; margin-top: 1em"><b>tiffdump</b>(1),
102<b>tiffinfo</b>(1), <b>tiffcp</b>(1),
103<b>libtiff</b>(3TIFF)</p>
104
105<p style="margin-left:11%; margin-top: 1em">Libtiff library
106home page: <b>http://www.remotesensing.org/libtiff/</b></p>
107<hr>
108</body>
109</html>
110