AWARE SYSTEMS
Programmer for hire
Baseline TIFF Tag FillOrder

TIFF Tag FillOrder

IFDImage
Code266 (hex 0x010A)
NameFillOrder
LibTiff nameTIFFTAG_FILLORDER
TypeSHORT
Count1
Default1 (lower column values in higher order bits)

Description

The logical order of bits within a byte.

The specification defines these values:

1 = pixels with lower column values are stored in the higher-order bits of the byte.
2 = pixels with lower column values are stored in the lower-order bits of the byte.

The specification goes on to warn that FillOrder=2 should not be used in some cases to avoid ambiguity, and that support for FillOrder=2 is not required in Baseline TIFF compliant readers.

LibTiff defines these values:

FILLORDER_MSB2LSB = 1;
FILLORDER_LSB2MSB = 2;

In practice, the use of FillOrder=2 is very uncommon, and is not recommended.