Initializes a new instance of the ResizeNearestNeighbor class.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public ResizeNearestNeighbor(
	int newWidth,
	int newHeight
)

Parameters

newWidth
Type: System..::.Int32
Width of the new image.
newHeight
Type: System..::.Int32
Height of the new image.

See Also