Ren'Py Need Help Please

Mar 10, 2020
27
12
Hi I am learning how to use renpy I am following a youtube video
he shows how to scale a picture that is to big by:

image picture_1 = im.scale("1.jpg", 1920, 1080)

in his video it works in mine when I start the novel I get a error

While running game code:
File "game/script.rpy", line 8, in script
image picture_1 = im.scale("1.jpg", 1920, 1080)
File "game/script.rpy", line 8, in <module>
image picture_1 = im.scale("1.jpg", 1920, 1080)
AttributeError: 'module' object has no attribute 'scale'

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/script.rpy", line 8, in script
image picture_1 = im.scale("1.jpg", 1920, 1080)
File "E:\downloads\trainer\borderlands 3\A Family Adventure plus add ons\renpy-7.3.5-sdk\renpy\ast.py", line 1013, in execute
img = renpy.python.py_eval_bytecode(self.code.bytecode)
File "E:\downloads\trainer\borderlands 3\A Family Adventure plus add ons\renpy-7.3.5-sdk\renpy\python.py", line 2052, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/script.rpy", line 8, in <module>
image picture_1 = im.scale("1.jpg", 1920, 1080)
AttributeError: 'module' object has no attribute 'scale'

Windows-8-6.2.9200
Ren'Py 7.3.5.606
Tutorials step by step learning 1.0
Sun Apr 26 15:00:59 2020

What did I miss that he forgot to say for it to work