Click or drag to resize

IMG_ROTATE Enumeration

Available image transformations (rotation and/or mirroring).

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public enum IMG_ROTATE
Members
  Member nameValueDescription
ROT_AUTO0 Automatic
ROT_NO1 Do not transform the image.
ROT_RIGHT2 Rotate image to the right (clockwise).
ROT_DOWN3 Rotate image down (rotate twice).
ROT_LEFT4 Rotate image to the left (counter-clockwise).
ROT_FLIPPED129 Mirror image without rotation (mirrored around the Y-axis).
ROT_RIGHT_FLIPPED130 Mirror image, then rotate to the right.
ROT_DOWN_FLIPPED131 Mirror image, then rotate twice.
ROT_LEFT_FLIPPED132 Mirror image, then rotate to the left.
Remarks

Rotation is always carried out in 90-degree steps.

Automatic image rotation settings (ROT_AUTO) can only be used with good quality machine-printed texts, but not with images containing 9-pin dot-matrix text or other non-machine printed text.

Mirroring values (those with the suffix FLIPPED) are ignored during image pre-processing.

The following table shows the results of the image transformation using different values.

Original image:

123
456
789

Transformed image:

ROT_NO LEFT RIGHT DOWN
123 369 741 987
456 258 852 654
789 147 963 321

FLIPPED LEFT_FLIPPED RIGHT_FLIPPED DOWN_FLIPPED
321 147 963 789
654 258 852 456
987 369 741 123

See Also