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

Share This Story, Choose Your Platform!

OCR Guide
Brands
Compare most popular choices in one cozy and extensive table
Languages
Applications
Go to Top