Resizes an image and saves the image to a file
public static bool ResizeImage(string filename, string outputFilename, int width, int height, InterpolationMode mode, int jpegCompressionMode)
Parameters
filename
outputFilename
width
height
mode
jpegCompressionMode
If using a jpeg image
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 Bitmap ResizeImage(Bitmap bmp, int width, int height, InterpolationMode mode)
See also:
Class ImageUtils© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic