How to import png images Turtle Python

Question:

I cannot import png images into python turtle although I can add gif images. Can someone please answer this as quickly as they can.

I tried just swapping to png from the gif, but no luck.

Asked By: Urbro49

||

Answers:

The turtle module does not support importing and displaying PNG images directly.

If you want to display a PNG image, you will need to convert the it to something the turtle module can manage, like a GIF. There are plenty image conversion tools available online that can help you do this.

Not recommending this one, it was just top result: https://cloudconvert.com/png-to-gif

Answered By: Jacob Grumley
Categories: questions Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.