There is a widget for that: https://marketplace.mendix.com/link/component/254
Documentation can be found here: https://docs.mendix.com/appstore/modules/image-crop/
Regards,
Ronald
So, I used the CropImage java action from Appronto Commons - https://marketplace.mendix.com/link/component/993. It is working great!