To rotate the image manually, you can use either IImageDocument::Transform method, or IPrepareImageMode::Rotation property. Also the image can be rotated automatically, if you set PageProcessingParams::DetectOrientation property to true. The detailed descriptions of these methods can be found in the Help file.
To save the rotated image in an external format, use WriteToFile method for required plan of ImageDocument object.
I tried all three ways DetectOrientation,Transform and Rotation. Butwe have to set the property RotationTypeEnumbased on the required rotation angle. Based on document the rotation angle can be changed. How can I identify how much rotation the image needs and so that I can pass the required rotation to that particular property?
Comments
4 comments
To rotate the image manually, you can use either IImageDocument::Transform method, or IPrepareImageMode::Rotation property. Also the image can be rotated automatically, if you set PageProcessingParams::DetectOrientation property to true. The detailed descriptions of these methods can be found in the Help file.
To save the rotated image in an external format, use WriteToFile method for required plan of ImageDocument object.
you may rotate selected images counterclockwise or with a customized rotation angle using fine image programme.
Hi Anastasia,
I tried all three ways DetectOrientation,Transform and Rotation. But we have to set the property RotationTypeEnum based on the required rotation angle. Based on document the rotation angle can be changed. How can I identify how much rotation the image needs and so that I can pass the required rotation to that particular property?
Hi Happy,
I am using ABBYY java SDK. Can you suggest me how can we the same with java?
Please sign in to leave a comment.