Fix Image Orientation

IronOCR’s OcrInput includes built-in methods to adjust image orientation for optimal OCR accuracy:

  • Rotate(double degrees): rotates the image clockwise by the given degrees; use negative values for counter-clockwise rotations
  • Deskew(int maxDeskewAngle = 45): corrects skew up to a maximum angle (default 45°); returns true if correction was applied
  • Scale(int percent, bool scaleCrop = true): resizes the image proportionally (e.g. 150 for 150%)