]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/tiffset.1
Fix crash when auto-sizing a wxDataViewCtrl column.
[wxWidgets.git] / src / tiff / man / tiffset.1
CommitLineData
8414a40c
VZ
1.\"
2.\" Copyright (c) 1988-1997 Sam Leffler
3.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
4.\"
5.\" Permission to use, copy, modify, distribute, and sell this software and
6.\" its documentation for any purpose is hereby granted without fee, provided
7.\" that (i) the above copyright notices and this permission notice appear in
8.\" all copies of the software and related documentation, and (ii) the names of
9.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
10.\" publicity relating to the software without the specific, prior written
11.\" permission of Sam Leffler and Silicon Graphics.
12.\"
13.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
16.\"
17.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
22.\" OF THIS SOFTWARE.
23.\"
24.if n .po 0
25.TH TIFFSET 1 "November 21, 2004" "libtiff"
26.SH NAME
27tiffset \- set a field in a
28.SM TIFF
29header
30.SH SYNOPSIS
31.B tiffset
32[
80ed523f 33.I options
8414a40c
VZ
34]
35.I filename.tif
36.SH DESCRIPTION
37.I Tiffset
38sets the value of a
39.SM TIFF
40header to a specified value.
41.SH OPTIONS
42.TP
80ed523f
VZ
43.BI \-d " dirnumber"
44change the current directory (starting at 0).
45.TP
46.BI \-s " tagnumber" "\fR [\fP" " count" "\fR ]\fP" " value ..."
8414a40c
VZ
47Set the value of the named tag to the value or values specified.
48.TP
80ed523f
VZ
49.BI \-sd " diroffset"
50change the current directory by offset.
51.TP
52.BI \-sf " tagnumber filename"
8414a40c
VZ
53Set the value of the tag to the contents of filename. This option is
54supported for ASCII tags only.
55.SH EXAMPLES
56The following example sets the image description tag (270) of a.tif to
57the contents of the file descrip:
58.RS
59.nf
80ed523f 60tiffset \-sf 270 descrip a.tif
8414a40c
VZ
61.fi
62.RE
63.PP
64The following example sets the artist tag (315) of a.tif to the string
80ed523f 65``Anonymous'':
8414a40c
VZ
66.RS
67.nf
80ed523f 68tiffset \-s 315 Anonymous a.tif
8414a40c
VZ
69.fi
70.RE
71.PP
72This example sets the resolution of the file a.tif to 300 dpi:
73.RS
74.nf
80ed523f
VZ
75tiffset \-s 296 2 a.tif
76tiffset \-s 282 300.0 a.tif
77tiffset \-s 283 300.0 a.tif
78.fi
79.RE
80.PP
81Set the photometric interpretation of the third page of a.tif to
82min-is-black (ie. inverts it):
83.RS
84.nf
85tiffset -d 2 -s 262 1 a.tif
8414a40c
VZ
86.fi
87.RE
88.SH "SEE ALSO"
89.BR tiffdump (1),
90.BR tiffinfo (1),
91.BR tiffcp (1),
92.BR libtiff (3TIFF)
93.PP
94Libtiff library home page:
95.BR http://www.remotesensing.org/libtiff/