OTA Bitmap - The Data Header

The Data Header

Before the image itself there is a header. The header is four bytes wide. A typical example is: 00 48 1C 01. These are:

00 The 'Infofield' (always remains as 00). 48 The width of the bitmap, 72 pixels in this case (48 is hex for 72). 1C The height of the bitmap, 28 pixels in this case (1C is hex for 28). 01 The number of colours (always 1).

Other possibilities may be: 00 48 0E 01 (for 72x14 bitmaps), 00 48 0D 01 (for 72x13 bitmaps).

Read more about this topic:  OTA Bitmap

Famous quotes containing the word data:

    To write it, it took three months; to conceive it three minutes; to collect the data in it—all my life.
    F. Scott Fitzgerald (1896–1940)