OperationResizeFit

ValuesDescription
coverPreserving aspect ratio, ensure the image covers both provided dimensions by cropping/clipping to fit.
containPreserving aspect ratio, contain within both provided dimensions using "letterboxing" where necessary.
fillPreserving aspect ratio, resize the image to be as large as possible while ensuring its dimensions are less than or equal to both those specified.
insidePreserving 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