![background image](http://html1.mh-extra.com/html/hand-held-products/padcom-tt1500/padcom-tt1500_user-manual_589777087.webp)
4 - 1
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.
.
Содержание PadCom TT1500
Страница 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Страница 88: ...4 2 ...
Страница 129: ......
Страница 130: ......
Страница 131: ......
Страница 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...