ResampleMethod

The method to use to resample the image.

Values

Name

Description

Value

ResampleMethod.AUTOMATIC

 

8

ResampleMethod.BICUBIC

Uses a weighted average to determine pixel color, which usually yields better results than the simple averageing method of downsampling.

The slowest but most precise method, resulting in the smoothest gradations.

4

ResampleMethod.BICUBICAUTOMATIC

 

7

ResampleMethod.BICUBICSHARPER

A good method for reducing the size of an image based on Bicubic interpolation with enhanced sharpening. Maintains the detail in a resampled image.

5

ResampleMethod.BICUBICSMOOTHER

A good method for enlarging images based on Bicubic interpolation but designed to produce smoother results.

6

ResampleMethod.BILINEAR

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.

3

ResampleMethod.NEARESTNEIGHBOR

Chooses a pixel in the center of the sample area and replaces the entire area with that pixel color. Same as subsampling.

Significantly reduces the conversion time compared with downsampling but results in images that are less smooth and continuous.

2

ResampleMethod.NONE

Does not resample.

1

ResampleMethod.PRESERVEDETAILS

 

9

Object of

Preferences.interpolation