Debian Codegraph @

texk/xdvipsk/thirdparty/libtiff/doc/terms.rst

raw
1 Terminology
2 ===========
3
4 .. image:: images/strike.gif
5 :width: 128
6 :alt: strike
7
8 The following definitions are used throughout this documentation.
9 They are consistent with the terminology used in the TIFF 6.0 specification.
10
11 Sample:
12 The unit of information stored in an image; often called a
13 channel elsewhere. Sample values are numbers, usually unsigned
14 integers, but possibly in some other format if the SampleFormat
15 tag is specified in a TIFF
16
17 Pixel:
18 A collection of one or more samples that go together.
19
20 Row:
21 An Nx1 rectangular collection of pixels.
22
23 Tile:
24 An NxM rectangular organization of data (or pixels).
25
26 Strip:
27 A tile whose width is the full image width.
28
29 Compression:
30 A scheme by which pixel or sample data are stored in
31 an encoded form, specifically with the intent of reducing the
32 storage cost.
33
34 Codec:
35 Software that implements the decoding and encoding algorithms
36 of a compression scheme.
37
38 .. _ImageFileDirectory:
39
40 Image File Directory (IFD):
41 An Image File Directory - in short also *directory* -
42 contains information about the image,
43 as well as pointers (offsets) to the actual image data
44 within the on-disk file.
45 An IFD points either to the next IFD or shows with a ''0''
46 that it is the last IFD in the IFD-chain.
47
48 Multi Images per TIFF file:
49 There may be more than one IFD in a TIFF file.
50 Each IFD defines a *subfile*.
51 One potential use of *subfiles* is to describe related images,
52 such as the pages of a facsimile transmission.
53 Such files are also named "*multi-page* TIFF" or "*multi-image* TIFF".
54 Refer also to :doc:`/multi_page`.
55
56 .. _SubFile:
57
58 Subfile:
59 *Subfile* is a term in the TIFF 6.0 specification for
60 an image and its associated *Image File Directory (IFD)*
61 in a TIFF file containing one or more images.
62
63 In order to better understand how TIFF works (and consequently this
64 software) it is important to recognize the distinction between the
65 physical organization of image data as it is stored in a TIFF and how
66 the data is interpreted and manipulated as pixels in an image. TIFF
67 supports a wide variety of storage and data compression schemes that
68 can be used to optimize retrieval time and/or minimize storage space.
69 These on-disk formats are independent of the image characteristics; it
70 is the responsibility of the TIFF reader to process the on-disk storage
71 into an in-memory format suitable for an application. Furthermore, it
72 is the responsibility of the application to properly interpret the
73 visual characteristics of the image data. TIFF defines a framework for
74 specifying the on-disk storage format and image characteristics with
75 few restrictions. This permits significant complexity that can be
76 daunting. Good applications that handle TIFF work by handling as wide
77 a range of storage formats as possible, while constraining the
78 acceptable image characteristics to those that make sense for the
79 application.