开发者

How to import png images Turtle Python

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 swappi开发者_运维问答ng to png from the gif, but no luck.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜