How to crop an image?

Updated: 2018-08-10

Maybe there are better ways, but the easiest one I've found so far is to draw a frame with target crop rectangle, set its overflow to hidden, and reparent the image into the frame.

There're some issues tho when resizing the cropped image.