TIFF Tag PlanarConfiguration
IFD | ![]() | Image |
---|---|---|
Code | 284 (hex 0x011C) | |
Name | PlanarConfiguration | |
LibTiff name | TIFFTAG_PLANARCONFIG | |
Type | SHORT | |
Count | 1 | |
Default | 1 (Chunky) |
Description
How the components of each pixel are stored.
The specification defines these values:
1 = Chunky format. The component values for each pixel are stored contiguously. For example, for RGB data, the data is stored as RGBRGBRGB
2 = Planar format. The components are stored in separate component planes. For example, RGB data is stored with the Red components in one component plane, the Green in another, and the Blue in
another.
LibTiff defines these values:
PLANARCONFIG_CONTIG = 1;
PLANARCONFIG_SEPARATE = 2;
The specification adds a warning that PlanarConfiguration=2 is not in widespread use and that Baseline TIFF readers are not required to support it.
If SamplesPerPixel is 1, PlanarConfiguration is irrelevant, and need not be included.