documentation indexreference manualfunction 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 indexreference manualfunction index