TIFF 6.0 Specification
Final—June 3, 1992
XResolution
Tag
= 282 (11A.H)
Type = RATIONAL
The number of pixels per ResolutionUnit in the ImageWidth (typically, horizontal
- see Orientation) direction.
YResolution
Tag
= 283 (11B.H)
Type = RATIONAL
The number of pixels per ResolutionUnit in the ImageLength (typically, vertical)
direction.
Location of the Data
Compressed or uncompressed image data can be stored almost anywhere in a
TIFF file. TIFF also supports breaking an image into separate strips for increased
editing flexibility and efficient I/O buffering. The location and size of each strip is
given by the following fields:
RowsPerStrip
Tag
= 278 (116.H)
Type = SHORT or LONG
The number of rows in each strip (except possibly the last strip.)
For example, if ImageLength is 24, and RowsPerStrip is 10, then there are 3
strips, with 10 rows in the first strip, 10 rows in the second strip, and 4 rows in the
third strip. (The data in the last strip is not padded with 6 extra rows of dummy
data.)
StripOffsets
Tag
= 273 (111.H)
Type = SHORT or LONG
For each strip, the byte offset of that strip.
StripByteCounts
Tag
= 279 (117.H)
Type = SHORT or LONG
For each strip, the number of bytes in that strip
after any compression.
19