documentation index ◦ reference manual ◦ function index

# im.Scale

Function: | im.Scale | (im, width, height, bilinear=True, **properties):

This is an image manipulator that scales another image manipulator to the specified width and height.

bilinear - If True, bilinear interpolation is used. If False, nearest-neighbor filtering is used.

## Example

    init:
        image cyan small = im.Scale("cyan.png", 16, 32)

documentation index ◦ reference manual ◦ function index