How Can We Help?

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
}
Contact Us for FREE Consultation on Your OCR Project
=
Table of Contents

Title

Go to Top