SimpleOCR:SDK Functions – GetImgBitmap
unsigned char * GetImgBitmap(const IMG * img)
This function gets a pointer to the bitmap corresponding to the image. The bitmap is organized like a Device Independent Bitmap (DIB)
Return Value
A pointer to the bitmap that encodes the image.
Parameters
img
Pointer to an image of type IMG.
Comments
See your Windows SDK documentation for obtaining information about Device Independent Bitmaps and how to use it.
Example
IMG *img;
unsigned char *bitmap;
// create an IMG
...
bitmap=GetImgBitmap (img);