FreeImageBitmap.GetScaledInstance Method (Int32, Int32, FREE_IMAGE_FILTER)

FreeImage.NET

FreeImageBitmapGetScaledInstance Method (Int32, Int32, FREE_IMAGE_FILTER)
Rescales this FreeImageBitmap to the specified size using the specified filter initializing a new instance.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public FreeImageBitmap GetScaledInstance(
	int width,
	int height,
	FREE_IMAGE_FILTER filter
)

Parameters

width
Type: SystemInt32
Width of the new FreeImageBitmap.
height
Type: SystemInt32
Height of the new FreeImageBitmap.
filter
Type: FreeImageAPIFREE_IMAGE_FILTER
Filter to use for resizing.

Return Value

Type: FreeImageBitmap
The rescaled instance.
See Also