

Resizes an image from a bitmap.
Note it will size to the larger of the sides
public static Bitmap ResizeImage(Bitmap bmp, int width, int height, InterpolationMode mode)
Parameters
bmp
width
height
mode
Overloads:
public static Bitmap ResizeImage(string filename, int width, int height, InterpolationMode mode)
public static Bitmap ResizeImage(Byte[] data, int width, int height, InterpolationMode mode)
public static bool ResizeImage(string filename, string outputFilename, int width, int height, InterpolationMode mode, int jpegCompressionMode)
See also:
Class ImageUtils© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic