How Can We Help?

SimpleOCR:SDK Functions – GetImgBitmap

You are here:
< All Topics

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);
Contact Us for FREE Consultation on Your OCR Project
=
Table of Contents

Title

Go to Top