Transformation of the input image with specified dimensions, automatic determination of the position of the main area, and use of the best crop method.