ResampleMethod

Description

The method to use to resample the image.

Static Properties

AUTOMATIC readonly  
BICUBIC readonly Uses a weighted average to determine pixel color, which usually yields better results than the simple averageing method of downsampling.
BICUBICAUTOMATIC readonly  
BICUBICSHARPER readonly A good method for reducing the size of an image based on Bicubic interpolation with enhanced sharpening. Maintains the detail in a resampled image.
BICUBICSMOOTHER readonly A good method for enlarging images based on Bicubic interpolation but designed to produce smoother results.
BILINEAR readonly Averages the pixels in a sample area and replaces the entire area with the average pixel color at the specified resolution. Same as average downsampling.
NEARESTNEIGHBOR readonly Chooses a pixel in the center of the sample area and replaces the entire area with that pixel color. Same as subsampling.
NONE readonly Does not resample.
PRESERVEDETAILS readonly