I am trying to create a turtle with a png photo as its shape. I have tried using this method:
import turtle
screen = turtle.Screen()
image = ("rocketship.png")
screen.addshape(image)
turtle.shape(image)
but then it shows this:
File "C:\Users\Drukker\AppData\Local\Programs\Python\Python39\Among_us.py", line 10, in <module>
screen.addshape(image)
File "C:\Users\Drukker\AppData\Local\Programs\Python\Python39\lib\turtle.py", line 1136, in register_shape
raise TurtleGraphicsError("Bad arguments for register_shape.\n"
turtle.TurtleGraphicsError: Bad arguments for register_shape.
Use help(register_shape)```
Does anyone know a solution?
Thanks