E.3 Black and white bitmap

23.0403GPPRelease 17Technical realization of the Short Message Service (SMS)TS

The user-defined black and white bitmap as integrated in the Extended Object IE is structured as follows:

Octet 8 Horizontal dimension of picture.
This octet shall contain the horizontal number of pixels

Octet 9 Vertical dimension of picture.
This octet shall contain the vertical number of pixels.

Octet 10..n Picture data, pixel by pixel from top left to bottom right. The picture data is encoded as a continuous sequence of bits. There shall be no fill bits at the end of each row of data, Fill bits may only be used in the last octet of the picture data if needed. The fill bits in the last octet shall be ignored. Within each octet the MSB represents the leftmost pixel.

The colour values are encoded as follows:

Bit Value Colour
0 White
1 Black