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
- Canvas
Image Extensions
Parameters
- CanvasImage image
- The canvas image.