Any uipath activities help to crop the image as required

I would like to crop this image because it has a lot of white regions that need to be eliminated, I just want to crop the area outlined in red and remove the surrounding white areas. I attempted Clipping Region but didn’t grasp how to apply it properly.

Hello @Jena

You can use the Image.SimpleCrop function to crop the image.

For the example below I have chosen that the image should be cropped to ½ size (0.5).
Start by loading the image with the Load Image activity, make the crop, and save the new image with the Save Image activity (download example below).

Input:

Result:

Download example here:
Crop image.xaml (8.1 KB)

Regards
Soren

Thanks, it works as expected. I have used your logic

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.