This function automatically determines the proper orientation of a 1-bit image and rotates the image to the proper orientation.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT IG_IC_orient_auto ( HIGEAR hIGear); |
Arguments:
hIGear | HIGEAR handle of image. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
Indexed RGB – 1 bpp.
Sample:
ImageClean
Remarks:
You should call this function after the IG_IP_deskew_auto() function because the de-skew function fixes only the angle of an image, not its orientation.
Refer to the Component Manager API section.