[]
        
(Showing Draft Content)

InterpolationMode

Enumeration: InterpolationMode

Specifies the sampling or filtering mode to use when scaling an image.

Enumeration Members

Cubic

Cubic: 2;

Destination pixel values are computed as a weighted average of the nearest sixteen pixels in a 4x4 grid.


Downscale

Downscale: 3;

Destination pixel values are computed as a weighted average of the all the pixels that map to the new pixel.


Linear

Linear: 1;

The output pixel values are computed as a weighted average of the nearest four pixels in a 2x2 grid.


NearestNeighbor

NearestNeighbor: 0;

The output pixel is assigned the value of the pixel that the point falls within. No other pixels are considered.