im.FactorScale - Ren'Py Visual Novel Engine

documentation index ◦ reference manual ◦ function index

# im.FactorScale

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

Scales the supplied image manipulator im by the given width and height factors. If height is not given, it defaults to the width.

bilinear - If True, bilinear scaling is used.

    init:
        image eileen doublesize = im.FactorScale("eileen_happy.png", 2.0)
        image eileen overweight = im.FactorScale("eileen_happy.png", 2.0, 1.0)

documentation index ◦ reference manual ◦ function index