标签: image python-3.x tkinter copy
我需要创建一个图像副本。 这就是我想要做的事情:
copy.cpoy(PhotoImage(width=imgWidth, height=imgHeight))
答案 0 :(得分:0)
PhotoImage的实例有一个copy方法,可以返回图像的副本。
PhotoImage
copy
img = PhotoImage(...) copy = img.copy()