SimpleOCR:SDK Functions AddImage
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
...
}