pdfOCR 3.0.2 API
iText.Pdfocr.Tesseract4.LeptonicaImageRotationHandler Class Reference

Leptonica based implementation of iText.Pdfocr.IImageRotationHandler. More...

Inheritance diagram for iText.Pdfocr.Tesseract4.LeptonicaImageRotationHandler:
iText.Pdfocr.IImageRotationHandler

Public Member Functions

virtual ImageData  ApplyRotation (ImageData imageData)
  Apply rotation to image data. More...
 

Detailed Description

Leptonica based implementation of iText.Pdfocr.IImageRotationHandler.

Member Function Documentation

◆ ApplyRotation()

virtual ImageData iText.Pdfocr.Tesseract4.LeptonicaImageRotationHandler.ApplyRotation ( ImageData  imageData )
inlinevirtual

Apply rotation to image data.

Apply rotation to image data. If image is not rotated - does nothing.

Parameters
imageData to apply rotation to
Returns
rotated image if rotation flag is set or self if no rotation

Implements iText.Pdfocr.IImageRotationHandler.