| ABBYY Mobile OCR Engine 4 |
Go to: Contents | Native Library API Reference | Structures
This structure represents the image. ABBYY Mobile OCR Engine supports the following formats:
typedef struct tagCFineImage {
int ImageWidth;
int ImageHeight;
int ImageByteWidth;
int BitsPerPixel;
int Resolution;
BYTE* Image;
} CFineImage;
| Name | Type | Description |
|---|---|---|
| BitsPerPixel | int | Stores the number of bits used for one pixel. It should be 1 for black and white image, 8 for gray, 24 for color. |
| Image | BYTE* | Stores the image bitmap line-by-line, from top to bottom. Each line starts at the BYTE boundary. |
| ImageByteWidth | int | Stores the number of bytes occupied by each raster line. The value of this field should be at least the smallest integer greater than or equal to (ImageWidth * BitsPerPixel/8). |
| ImageHeight | int | Stores the height of the image in pixels. |
| ImageWidth | int | Stores the width of the image in pixels. |
| Resolution | int | Stores the horizontal and vertical resolution in dpi. |
This structure is passed as an input parameter to the FineAnalyzeImage, FineGetTextLines, FinePrebuildWordsInfo, FinePreprocessImage, FineRecognizeBarcode, FineRecognizeBlocks, FineRecognizeBusinessCard, FineRecognizeImage, FineRecognizeRegion functions.
This structure is the output parameter of the FineLoadImageFromFile, FineLoadImageFromInputStream function.