Size to Fit
This transformation resizes its input image either to specific dimensions or to exactly match the dimensions of an image.
A cropping rectangle is displayed over the input image to let you select what part of the input image you want to be resized. You can adjust the cropping rectangle by dragging its corners, edges or interior.
This tool bar provides shortcuts for adjusting the cropping rectangle:
expands the crop box to cover the entire input image. If Method is set to Scale to fill, the cropping rectangle is then adjusted to match the proportions of the output image.
centers the crop box horizontally.
centers the crop box vertically.
Method
Size to Fit supports four different resizing methods as illustrated below:
Scale to fit -- Scales the part of the input image inside the cropping rectangle as large as possible to fit in the output image without altering its proportions. If it does not completely fill the entire output image, borders are added either on the left and right or above and below to pad the image out to the desired dimensions. You can set the color of these borders using the Border Color control (see below).
Scale to fill -- When this option is selected, the proportions of the cropping rectangle are constrained to match the output image. The cropped region of the input image is then resized to fill the output image.
Tile -- Copies of the cropped region of the input image are repeated (without any scaling) as necessary to fill the entire output image, starting at the lower left corner.
Stretch -- The cropped region of the input image is resized to fill the entire output image, without preserving its proportions.
Reference Image
If you select a reference image, its width and height in pixels and resolution in dpi become the dimensions of the output image, and the Width, Height and Resolution controls are disabled. If no reference image is selected, the default dimensions are taken from the input image, or you can enter Width, Height or Resolution manually if you wish.
Width, Height, and Resolution
These controls are used to set the resolution and dimensions of the output image in pixels. If a reference image is selected, these controls are disabled.
Border Color
This control sets the border color. The border color only make a difference if you set Method to Scale to fit.