Resizer:Fitting methods

From den4b Wiki
Revision as of 00:39, 24 August 2017 by Den4b (talk | contribs) (Began describing fitting methods)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

↑ Go to top

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