ImageUtils.ResizeImage

Resizes an image from a bitmap. Note image will resize to the larger of the two sides

public static Bitmap ResizeImage(Bitmap bmp,
	int width,
	int height,
	InterpolationMode mode)

Return Value

resized or original bitmap. Be sure to Dispose this bitmap

Parameters

bmp
Bitmap to resize

width
new width

height
new height

mode

Overloads:


See also:

Class ImageUtils

© West Wind Technologies, 1996-2020 • Updated: 07/15/20
Comment or report problem with topic