ResizeExtension
Class ResizeExtension
Namespace: Imagise.Resizer
Assembly: Imagise.Resizer.dll
Resize extension class
public static class ResizeExtension
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
Resize(Image, int, int, ResizeType)
Resizes the specified new width.
public static Image Resize(this Image image, int newWidth, int newHeight, ResizeType resizeType)
Parameters
image
Image
The input image.
newWidth
int
The new width.
newHeight
int
The new height.
resizeType
ResizeType
Type of the resize.
Returns
Image
The resized output image