SimpleOCR:SDK Functions – RotateImg

You are here:
< All Topics

int RotateImg(IMG * img, int angle)

Rotates an image.

Return Value

If the function fails a nonzero error code is returned.

Parameters

img

Pointer to an image of type IMG.

angle

Rotation angle, given in degrees.

Comments

Example

IMG *img; 

if (RotateImg(img,180)) 
{
//error processing 
...
}
Previous SimpleOCR:SDK Functions – ResizeImg
Next SimpleOCR:SDK Functions – SaveImg
Table of Contents
Contact Us for FREE Consultation on Your OCR Project
Go to Top