FreeImage.Rescale Method

FreeImage.NET

FreeImageRescale Method
Performs resampling (or scaling, zooming) of a greyscale or RGB(A) image to the desired destination width and height.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP Rescale(
	FIBITMAP dib,
	int dst_width,
	int dst_height,
	FREE_IMAGE_FILTER filter
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
dst_width
Type: SystemInt32
Destination width.
dst_height
Type: SystemInt32
Destination height.
filter
Type: FreeImageAPIFREE_IMAGE_FILTER
The filter to apply.

Return Value

Type: FIBITMAP
Handle to a FreeImage bitmap.
See Also