标签: python python-3.x tkinter
如何调整图像大小?感谢
canvas = Canvas(width = 300, height = 200, bg = 'white') canvas.grid(row=0, column=0,sticky = 'W') gif = PhotoImage(file = "picture.gif") canvas.create_image(0, 0, image = gif, anchor = NW) mainloop()