0

I am a beginner at programming at can't seem to figure out how to use bgpic('photo.gif') in turtle.

I have enclosed the 'photo.gif' in the same folder as the script. Every time I execute the program with bgpic, the turtle window crashes. Do I have to resize the picture? Change its format?

4

1 に答える 1

2

bgpic は gif 画像のみを受け入れます

Photoshop または別の同様のツールを使用して画像を gif 形式に変換するか、たとえば python PIL を使用してプログラムで変換する必要があります。

于 2012-01-02T17:37:53.397 に答える