How Can We Help?

SimpleOCR:SDK Functions AddImage

You are here:
< All Topics

int AddImage(SETOFIMG * set, IMG * image)

Add an image to a set of image. The new image will be added at the last position.

Return Value

If the function fails, a nonzero value is returned.

Parameters

set

A pointer to a set of images of type SETOFIMG.

image

A pointer to the added image, of type IMG.

Example

SETOFIMG *doc; 
IMG *img; 
int nb; 

// Creates an image in img 
... 

// Creates a set 
doc=<f CreateMultipleImg>(); 
if (doc==NULL) 
{
// error processing 
...
} 

// Add the image 
if (AddImage(set,img)) 
{
// error processing 
...
}
Contact Us for FREE Consultation on Your OCR Project
=
Table of Contents

Title

Go to Top