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 double

the target horizontal resolution

yResolution double

the target vertical resolution

filter FilterTypes

The filter to use when resizing.

blur double

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

Meta