Document Title Here
AET65 API
Version 1.0
idvation GmbH
Otto-Hesse-Straße 19 / T5
Phone +49 6151 9926567
D-64293 Darmstadt
Fax +49 6151 3689296
www.idvation.com
Page 46 of 84
Page 46 of 84
5.2.8.
ABS_IMAGE
Type ABS_IMAGE holds data representing one sample image of swiped finger.
Functions ABSCapture, ABSGrab and ABSRawGrab use this structure. Also certain messages sent to
ABS_CALLBACK can have sample image in form of this structure passed as additional data.
typedef struct abs_image {
ABS_DWORD Width;
ABS_DWORD Height;
ABS_DWORD ColorCount;
ABS_DWORD HorizontalDPI;
ABS_DWORD VerticalDPI;
ABS_BYTE ImageData[ABS_VARLEN];
} ABS_IMAGE
Description
Width
Width of the image in pixels
Height
Height of the image in pixels
ColorCount
Maximal color count of the image
HorizontalDPI
Horizontal resolution of the image (dots per inch)
VerticalDPI
Vertical resolution of the image (dots per inch)
ImageData[ABS_VARLEN]
Color values of all pixels.
ImageData is an array of (Width * Height) bytes. Each pixel is
represented by one byte. First (Width) bytes represent first row of
pixels (from left to right ordering) and the subsequent row follows
one by one without any gaps.
Value of each byte denotes a grayscale color. Colors are
numbered, 0 meaning black and (colorCount - 1) meaning white.
Other gray colors are linearly spread in the range between black
and white.