Resize.Apply Method (Bitmap, Int32, Int32, ResizeInterpolationMode)

Produces a resized copy of a given bitmap. The source bitmap remains unchanged.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public static Bitmap Apply(
	Bitmap source,
	int width,
	int height,
	ResizeInterpolationMode mode
)

Parameters

source

Type: Aurigma.GraphicsMill.Bitmap

An Bitmap to resize.
width

Type: System.Int32

The width of the resulting image.
height

Type: System.Int32

The height of the resulting image.
mode

Type: Aurigma.GraphicsMill.Transforms.ResizeInterpolationMode

A InterpolationMode specifying interpolation algorithm used during the resize.

Return Value

A new Bitmap containing the result of resize transformation.

See Also

Reference