TIFF Tag StripOffsets

IFDImage
Code273 (hex 0x0111)
NameStripOffsets
LibTiff nameTIFFTAG_STRIPOFFSETS
TypeSHORT or LONG
CountN = StripsPerImage for PlanarConfiguration equal to 1; N = SamplesPerPixel * StripsPerImage for PlanarConfiguration equal to 2
DefaultNone

Description

For each strip, the byte offset of that strip.

The offset is specified with respect to the beginning of the TIFF file. Note that this implies that each strip has a location independent of the locations of other strips. This feature may be useful for editing applications. This required field is the only way for a reader to find the image data. (Unless TileOffsets is used; see TileOffsets.)

Note that either SHORT or LONG values may be used to specify the strip offsets. SHORT values may be used for small TIFF files. It should be noted, however, that earlier TIFF specifications required LONG strip offsets and that some software may not accept SHORT values.

For maximum compatibility with operating systems such as MS-DOS and Windows, the StripOffsets array should be less than or equal to 64K bytes in length, and the strips themselves, in both compressed and uncompressed forms, should not be larger than 64K bytes.

Related tags