Skip header
ManualsContentsPreviousNextHelp

Bitmap images

For reference, the top position of the strip data must be contained in the value of the StripeOffsets (273) tag. The data size (byte) after it is coded must also be specified by the value of StripeByteCounts (279) tag.

The byte at the end of the last page's strip data must be the same as the byte at the end of the TIFF data.

The bitmap data must be one of the following types:

Bitmap image type

Limitations

Monochrome: one sample, one bit (two colors) per pixel.

The value of the BitsPerSample (256) tag must be set to 1. Each pixel must be white when the sample value is 0, and black when the sample value is 1.

Gray scale: one sample, four bit (16 colors) per pixel.

The value of the BitsPerSample (256) tag must be set to be at 4. Each pixel must be white when the sample value is 0, and black when the sample value is 15.

Gray scale: one sample, eight bit (256 colors) per pixel.

The value of the BitsPerSample (256) tag must be set to be at 8. Each pixel must be white when the sample value is 0, and black when the sample value is 255.

The bitmap image data must be coded using one of the following compression methods.

Compression method

Limitations

Notes

Uncompressed method

The image is not compressed.

Data for each pixel is stored in the order it is created or scanned. Extra data is added to the end of each line as a pad in place of unused bytes.

The value of the Compression (259) tag must be set to 1 and the T4Options (292) tag cannot be included. Also, the value of the StripByteCounts (279) tag must be set as follows:

  • 2 color monochrome image

    ImageWidth multiplication ImageLength / 8

  • 16 color gray scale image

    ImageWidth multiplication

    ImageLength / 2

  • 256 color gray scale image

    ImageWidth multiplication ImageLength


MH (Modified Huffman) method

This compression method is the same as the one-dimensional coding method of the CCITT Group 3 Fax.

This compression method is used for two color monochrome images only.

The value of the Compression (259) must be set to 3 and the T4Options (292) tag must be set to 1. Also, the value of the StripByteCounts (279) tag must be set to the size (inbytes) of the compressed data.


MMR (Modified Modified Read) method

This compression method is the same as the CCITT Group 4 Fax coding method.

This compression is used for two color monochrome images only.

The value of the Compression (259) tag must be set to 4 and the T4Options (292) tag cannot be included. Also, the value of the StripByteCounts (279) tag must be set to the size (in bytes) of the compressed data.


LZW (Lempel, Ziv, Welch) method

The value of the Compression (259) tag must be set to 5. Also, the value of the StripByte-Counts (279) tag must be set to the size (in bytes) of the compressed data.

This method uses the data compression algorithm originally devised by Terry Welch of Sperry (currently Unisys), and later used as a dictionary "LZ77" algorithm by Abraham Lempel and Jacob Ziv.