A bug in UiPath.Core.Image -> CropImage



The Image’s CropImage function has following parameters: elementRegion, nodeClippingRegion, expand.

When trying to crop an image there’s a problem when using expand value False. For some reason the image isn’t cropped by the elementRegion or nodeClippingRegion values as it should. You can verify this bug by trying to crop bigger image (bigger than: width: 600px, height: 318px).

With expand value True, it crops the image correctly, but it automatically adds more content outside the elementRegion parameters region, which is not helpful in my case.

Br. Ville