Image.resize

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

class Image
void
resize

Parameters

size Geometry

The desired width and height.

filter FilterTypes

The filter to use when resizing.

blur double

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

Meta