** 解决_tkinter.TclError: couldn’t recognize data in image file “tupian.jpg” ** 出现该问题的原因是tkinter.PhotoImage()仅支持GIF and PGM/PPM 文件格式等几种不常用的图片格式。 将图片格式更改为GIF and PGM/PPM,然后再运行