编辑:当我使用image = ImageTk.PhotoImage(resize_image)而不是file=resize_image时,画布上什么都不会显示。。Desktop/Scripts/gui/slideshow_model/slide_show_class.py", line 55, in show_imageAttributeError: 'Image' object has no attri
我使用了PhotoImage函数,我写下了我想上传的照片的具体地址,并用按钮合成,但每次我都收到一个错误 "TclError: couldn't recognize data in image file=Tk()lb=Button(master,text='click')lb.config(foreground='pink')
ax=PhotoImage