AWARE SYSTEMS
Programmer for hire
Baseline TIFF Tag SamplesPerPixel

TIFF Tag SamplesPerPixel

IFDImage
Code277 (hex 0x0115)
NameSamplesPerPixel
LibTiff nameTIFFTAG_SAMPLESPERPIXEL
TypeSHORT
Count1
Default1

Description

The number of components per pixel.

SamplesPerPixel is usually 1 for bilevel, grayscale, and palette-color images. SamplesPerPixel is usually 3 for RGB images. If this value is higher, ExtraSamples should give an indication of the meaning of the additional channels.

Related tags

BitsPerSample
PhotometricInterpretation
ExtraSamples