TIFF Tag TileLength

IFDImage
Code323 (hex 0x0143)
NameTileLength
LibTiff nameTIFFTAG_TILELENGTH
TypeSHORT or LONG
Count1
DefaultNone

Description

The tile length (height) in pixels. This is the number of rows in each tile.

Assuming integer arithmetic, three computed values that are useful in the following field descriptions are:
TilesAcross = (ImageWidth + TileWidth - 1) / TileWidth
TilesDown = (ImageLength + TileLength - 1) / TileLength
TilesPerImage = TilesAcross * TilesDown
These computed values are not TIFF fields; they are simply values determined by the ImageWidth, TileWidth, ImageLength, and TileLength fields.

TileLength must be a multiple of 16. This restriction improves performance in some graphics environments and enhances compatibility with compression schemes such as JPEG. Tiles need not be square.

Related tags