cover | Preserving aspect ratio, ensure the image covers both provided dimensions by cropping/clipping to fit. |
contain | Preserving aspect ratio, contain within both provided dimensions using "letterboxing" where necessary. |
fill | Preserving aspect ratio, resize the image to be as large as possible while ensuring its dimensions are less than or equal to both those specified. |
inside | Preserving aspect ratio, resize the image to be as small as possible while ensuring its dimensions are greater than or equal to both those specified. |
outside | |