SimpleOCR:SDK Functions – SaveImg

You are here:
< All Topics

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
}
Previous SimpleOCR:SDK Functions – RotateImg
Next SimpleOCR:SDK Functions – SaveMultipleImg
Table of Contents
Contact Us for FREE Consultation on Your OCR Project
Go to Top