SimpleOCR:SDK Functions – InvertImg
int InvertImg(IMG * img)
Inverts an image (black pixels becomes white and white pixels becomes black)
Return Value
If the function fails a nonzero error code is returned.
Parameters
img
Pointer to an image of type IMG.
Example
IMG *img;
// Create an IMG
...
if (InvertImg(img))
{
//error processing
...
}