Getting Skew Angle and Rotate Image

Hi guys!

I’m developing a process that extracts data from PDF, and because are Scanned PDF, they don’t come with a correct angle, so I need to check the angle and rotate the PDF to a correct angle!
So I’m using the package ImageActivities.Activities and I’m getting the skew angle, but when it comes to rotate it, I have doubts about how I should apply the angle to rotate it!

Can someone help?
Thanks!

Hi @mmcruzRPA!

To correct a angle of a image, you just need to use ‘Image Rotate’ activity and use the skew angle as 0. The activity does the correction automatically:

image

image

image

Hi @Marcelo_Guimaraes!

Yes, I tried that way but most of the times the scanned document doesn’t rotate well, I was searching if there is conditions that should be applied depending of the skew angle of each document, but didn’ t find something clear until now

Thanks!