Rescales this FreeImageBitmap to the specified size using the specified filter initializing a new instance.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public FreeImageBitmap GetScaledInstance(
	int width,
	int height,
	FREE_IMAGE_FILTER filter
)
Visual Basic (Declaration)
Public Function GetScaledInstance ( _
	width As Integer, _
	height As Integer, _
	filter As FREE_IMAGE_FILTER _
) As FreeImageBitmap
Visual C++
public:
FreeImageBitmap^ GetScaledInstance(
	int width, 
	int height, 
	FREE_IMAGE_FILTER filter
)

Parameters

width
Type: System..::.Int32
Width of the new FreeImageBitmap.
height
Type: System..::.Int32
Height of the new FreeImageBitmap.
filter
Type: FreeImageAPI..::.FREE_IMAGE_FILTER
Filter to use for resizing.

Return Value

The rescaled instance.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also