beautypg.com

5 working with bitmap files – Matrix Orbital GLK12232-25-SM Legacy User Manual

Page 27

background image

27

70

last ASCII character defined

00 0F

offset to definition of first character (h)

05

number of bytes in definition of first character

00 14

offset to definition of second character (i)

03

number of bytes in definition of second character

00 17

offset to definition of third character (j)

04

number of bytes in definition of third character

7F 04 81 80 07

definition of first character

C4 3E 10

definition of second character

02 20 B1 07

definition of third character

6.5 Working with Bitmap Files

Uploading a bitmap is the same as uploading a font file except that the character header information is not
required.

The bitmap file consists of a header followed by the bitmap data. The header format is as follows:

Placeholder for actual EOF (2 bytes, use 0xFF 0xFF – these bytes will be set to their final value by the

module)

x size of bitmap (1 byte)
y size of bitmap (1 byte)

Bitmap data follows with the bits organized vertically from the top left (see Figure 4-1). The last byte may
be padded with zeros.

Aside from the different header, bitmap file operations are identical to those described for font files in
section 6.4.