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

NAME

6       tiffset - set or unset 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 or removes
13       an existing setting.
14

OPTIONS

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

EXAMPLES

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

SEE ALSO

51       tiffdump(1), tiffinfo(1), tiffcp(1), libtiff(3TIFF)
52
53       Libtiff library home page: http://www.simplesystems.org/libtiff/
54
55
56
57libtiff                        December 3, 2012                     TIFFSET(1)
Impressum