Resizer:Fitting methods: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
			
		
		
	
|  (Began describing fitting methods) | 
| (No difference) | 
Revision as of 22:39, 23 August 2017
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 |