Implemented simultaneous crop and 90deg rotation (only for frontend so
far)