TIFF 6.0 Specification
Final—June 3, 1992
Section 6: RGB Full Color Images
In an RGB image, each pixel is made up of three components: red, green, and
blue. There is no ColorMap.
To describe an RGB image, you need to add or change the following fields and
values. The other required fields are the same as those required for palette-color
images.
Differences from Palette Color Images
BitsPerSample = 8,8,8.
Each component is 8 bits deep in a Baseline TIFF RGB
image.
PhotometricInterpretation = 2 (RGB).
There is no
ColorMap.
SamplesPerPixel
Tag
= 277 (115.H)
Type = SHORT
The number of components per pixel. This number is 3 for RGB images, unless
extra samples are present. See the ExtraSamples field for further information.
Required Fields for RGB Images
These are the required fields for RGB images (in numerical order):
TagName
ImageWidth
ImageLength
BitsPerSample
Compression
PhotometricInterpretation
StripOffsets
SamplesPerPixel
RowsPerStrip
StripByteCounts
XResolution
YResolution
ResolutionUnit
Decimal Hex
256
257
258
259
262
273
277
278
279
282
283
296
100
101
102
103
106
111
115
116
117
11A
11B
128
Type
SHORT or LONG
SHORT or LONG
SHORT
SHORT
SHORT
SHORT or LONG
SHORT
SHORT or LONG
LONG or SHORT
RATIONAL
RATIONAL
SHORT
Value
8,8,8
1 or 32773
2
3 or more
1, 2 or 3
24