Image.resize

scales an image to the desired dimensions, using the given filter.

class Image
void
resize

Parameters

size
Type: Geometry

The desired width and height.

filter

The filter to use when resizing.

blur
Type: double

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

Meta