![IDTECH Vivopay Neo 2 Скачать руководство пользователя страница 260](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786260.webp)
NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
260
8.9.2.
Bitmap Conversion Completed by POS
The reader expects to load a simplified version of the monochrome bitmap. While data is the
same as in a standard bitmap, it must be converted to a format that the LCD hardware can
use.
The standard 40-byte DIB bitmap header is discarded. It is replaced by a simplified ViVOpay
header, described in
The bitmap data produces an LCD image that is:
•
Reversed in color (black is white, and vice versa).
•
Upside down.
White space reduction
Large parts of the bitmap are empty background. The LCD does not need to save this white
space, because it corresponds to off-pixel values (which are already turned off). This limited
form of image compression makes the image much smaller.
8.9.3.
ILM Header Format
Each bitmap loaded onto a reader is expected to contain a proprietary header instead of the
standard DIB header.
This header format is shown in the following table, prefixed to the actual bitmap data:
Bytes
0-1
Bytes
2-3
Bytes
4-5
Bytes
6-7
Bytes
8-9
Bytes
10-11
Bytes
12…n
Bitmap
Length
Row
Number
Column
Number
Height
Width
Type (truncate or other info)
Bitmap
data
All variables in the header are 2 bytes long.
Byte
Description
Bitmap Length
This data field contains the total number of bytes in the Bitmap Data Field.
Row Number
This data field contains the row offset that this image should start at. Value is in PIXELS.
Column Number
This data field contains the column offset that this image should start at. Value is in BYTES.
Height
This data field contains the number of rows (in pixels) that this image contains.
Width
This data field contains the number of columns (in bytes) that this image contains.
Type
Reserved – must be set to 00h.
Bitmap Data
This is the actual image data.
8.9.4.
Language Version Information
This block contains data used for version control of the ILM. It contains variables that identify
the particular language module that is currently stored in the system.