Image.resample

Resize image in terms of its pixel size, so that when displayed at the given resolution it will be the same size in terms of real world units as the original image at the original resolution.

class Image
void
resample

Parameters

xResolution
Type: double

the target horizontal resolution

yResolution
Type: double

the target vertical resolution

filter

The filter to use when resizing.

blur
Type: double

Values > 1 increase the blurriness. Values < 1 increase the sharpness.

Meta