SimpleOCR:SDK Functions – SaveImg
int SaveImg(const char * filename, const IMG * img)
Saves an image to a TIFF file.
Return Value
If the function fails a nonzero error code is returned.
Parameters
filename
Name of the TIFF file you want to create.
img
A pointer to the image to be saved.
Comments
Example
IMG *img;
// Create an IMG
...
if (SaveImg("foo.tif",img))
{
//error processing
}