UtilFreeImageResize(Bitmap, Int32, Int32, FREE_IMAGE_FILTER) Method

Resizes the specified image.

Definition

Namespace: DevCase.ThirdParty.FreeImage
Assembly: DevCase.net48.ThirdParty.FreeImage (in DevCase.net48.ThirdParty.FreeImage.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Bitmap Resize(
	Bitmap bmp,
	int width,
	int height,
	FREE_IMAGE_FILTER quality = 2
)

Parameters

bmp  Bitmap
The source Bitmap.
width  Int32
The new width.
height  Int32
The new height.
quality  FREE_IMAGE_FILTER  (Optional)
The resize quality.

Return Value

Bitmap
The resulting image.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

FreeImageNET

See Also