Which Fit option to choose?
Image resizing with Width&Height differs in its upscaling logic depending on the selected fit option:
Resizing with the Fit options Wide, Short, and Canvas will always be done preserving the aspect ratio of your input image.
In cases when you need to customize the initial aspect ratio, the best operations will be Crop-Smart and Crop-Center. The following operations will crop your image to the specified values.
How do Fit Options resize my images?
Resizing with the fit option 'wide side' is always oriented on the larger side, i.e. an image is scaled to the given output values of the larger side, and a shorter one is scaled while maintaining the aspect ratio of the image.
Upscaling with the short-side fit option is oriented on the smaller side, i.e. an image is upscaled to the given output values of the shorter side, and the larger side is calculated to keep the aspect ratio of the image.
Places an input image on the canvas defined by the specified width and height values.
It's a basic cropping mode that crops images from their center without regard to their content;
This is a content-aware cropping mode that detects an object in an image and uses it as the center for cropping.
Updated on: 14/11/2023