Resizer:Fitting methods
Jump to navigation
Jump to search
Fitting methods dictate how the image will be resized to the target dimensions.
The table below describes each method.
# | Fitting method | Description |
---|---|---|
1 | Stretch | The original image is scaled vertically and horizontally to match exactly the target dimensions. Original aspect ratio is not maintained, so the image will get distorted. |
2 | Width | The width of the image is scaled to match exactly the target width. The height is then scaled accordingly to maintain the original aspect ratio. |
3 | Height | |
4 | Inside | |
5 | Outside | |
6 | Inside and Pad | |
7 | Outside and Crop |