Enum ResizeMode
Provides enumeration over how the image should be resized.
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public enum ResizeModeFields
| Name | Description | 
|---|---|
| BoxPad | Pads the image to fit the bound of the container without resizing the original source. When downscaling, performs the same functionality as Pad | 
| Crop | Crops the resized image to fit the bounds of its container. | 
| Manual | The target location and size of the resized image has been manually set. | 
| Max | Constrains the resized image to fit the bounds of its container maintaining the original aspect ratio. | 
| Min | Resizes the image until the shortest side reaches the set given dimension. Upscaling is disabled in this mode and the original image will be returned if attempted. | 
| Pad | Pads the resized image to fit the bounds of its container. If only one dimension is passed, will maintain the original aspect ratio. | 
| Stretch | Stretches the resized image to fit the bounds of its container. |