Chapter 4 - Supported Bitmap Format - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

4
Supported Bitmap Format
Many PadCom commands such as padPutBmpFile and padSetLogoBmpFile accept Windows style bitmap files. Other
command such as padPutBits and padMemLoadBitmap do not. These commands accept raw black and white bitmap
data. The raw black and white bitmap format used throughout PadCom is the standard raw bitmap format used for black and
white bit mapped images. The bitmap data is byte aligned. The first byte represents the top left most portion of the image.
The last byte represents the bottom right most portion of the image. The black and white format uses one bit per pixel. Bit 1
is the rightmost pixel of each byte and bit 8 is the leftmost pixel of each byte. A bit value of zero is black and a bit value of
one is white.
The following illustrates a bit mapped image as it would appear on a black and white LCD screen. The image has a horizontal
size of 12 pixels and a vertical size of 10 pixels.
The following illustrates the raw bit map data of the previous image. Notice that the image data is two bytes
wide and 10 bytes tall even though the size of the actual image is 12 pixels (12 bits) wide and 10 pixels tall.
Notice also that the right most pixels are not used. These unused bits are required for the data to be byte
aligned.
.
4 - 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents