Method Rescale
Rescale(int, int, GenericImageResizeQuality)
Changes the size of the image in-place by scaling it: after a call to this function,the image will have the given width and height.
public virtual void Rescale(int width, int height, GenericImageResizeQuality quality = GenericImageResizeQuality.Nearest)
Parameters
width
intNew image width.
height
intNew image height.
quality
GenericImageResizeQualityScaling quality.