NearestNeighborResampler(CanvasImage) Method

Uses a Nearest-Neighbour sampler that implements the nearest neighbor algorithm. This uses a very fast, unscaled filter which will select the closest pixel to the new pixels position.
public static CanvasImage NearestNeighborResampler(this CanvasImage image)
Namespace
Spectre.Console
Containing Type
CanvasImageExtensions

Parameters

CanvasImage image
The canvas image.

Returns