1TIFFSET(1)                  General Commands Manual                 TIFFSET(1)
2
3
4

NAME

6       tiffset - set a field in a TIFF header
7

SYNOPSIS

9       tiffset [ options ] filename.tif
10

DESCRIPTION

12       Tiffset sets the value of a TIFF header to a specified value.
13

OPTIONS

15       -d dirnumber
16              change the current directory (starting at 0).
17
18       -s tagnumber [ count ] value ...
19              Set the value of the named tag to the value or values specified.
20
21       -sd diroffset
22              change the current directory by offset.
23
24       -sf tagnumber filename
25              Set  the  value  of  the  tag to the contents of filename.  This
26              option is supported for ASCII tags only.
27

EXAMPLES

29       The following example sets the image description tag (270) of a.tif  to
30       the contents of the file descrip:
31              tiffset -sf 270 descrip a.tif
32
33       The  following example sets the artist tag (315) of a.tif to the string
34       ``Anonymous'':
35              tiffset -s 315 Anonymous a.tif
36
37       This example sets the resolution of the file a.tif to 300 dpi:
38              tiffset -s 296 2 a.tif
39              tiffset -s 282 300.0 a.tif
40              tiffset -s 283 300.0 a.tif
41
42       Set the photometric interpretation of the third page of a.tif  to  min-
43       is-black (ie. inverts it):
44              tiffset -d 2 -s 262 1 a.tif
45

SEE ALSO

47       tiffdump(1), tiffinfo(1), tiffcp(1), libtiff(3TIFF)
48
49       Libtiff library home page: http://www.remotesensing.org/libtiff/
50
51
52
53libtiff                        November 21, 2004                    TIFFSET(1)
Impressum