Debian Codegraph @

texk/xdvipsk/thirdparty/libtiff/doc/tools/tiffdump.rst

raw
1 tiffdump
2 ========
3
4 .. program:: tiffdump
5
6 Synopsis
7 --------
8
9 **tiffdump** [ *options* ] *name* …
10
11 Description
12 -----------
13
14 :program:`tiffdump` displays directory information from files created according
15 to the Tag Image File Format, Revision 6.0.
16 The header of each TIFF file (magic number, version, and first directory offset)
17 is displayed, followed by the tag contents of each directory in the file.
18 For each tag, the name, data type, count, and value(s) is displayed.
19 When the symbolic name for a tag or data type is known, the symbolic
20 name is displayed followed by it's numeric (decimal) value.
21 Tag values are displayed enclosed in ``<>`` characters immediately
22 preceded by the value of the count field.
23 For example, an ``ImageWidth``
24 tag might be displayed as ``ImageWidth (256) SHORT (3) 1<800>``.
25
26 :program:`tiffdump` is particularly useful for investigating the contents of
27 TIFF files that :program:`libtiff` does not understand.
28
29 Options
30 -------
31
32 .. option:: -h
33
34 Force numeric data to be printed in hexadecimal rather than the
35 default decimal.
36
37 .. option:: -m items
38
39 Change the number of indirect data items that are printed. By default, this
40 will be 24.
41
42 .. option:: -o offset
43
44 Dump the contents of the IFD at the a particular file offset.
45 The file offset may be specified using the usual C-style syntax;
46 i.e. a leading ``0x`` for hexadecimal and a leading ``0`` for octal.
47
48 See also
49 --------
50
51 :doc:`tiffinfo` (1),
52 :doc:`/functions/libtiff` (3tiff)