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);
Previous SimpleOCR:SDK Functions – GetImage
Next SimpleOCR:SDK Functions – GetImgBitmapInfo
Table of Contents
Contact Us for FREE Consultation on Your OCR Project

Share This Story, Choose Your Platform!

OCR Guide
Brands
Compare most popular choices in one cozy and extensive table
Languages
Applications
Go to Top