adobe xd cut image code example
Example: crop picture in adobe xd
Place the picture in xd.
Draw a rectangle on the artboard. (This will maintain the cropped size of img)
Select both of them, right click, mask with shape.
Adjust the picture to your needs.