windows系统,代码如下:
import Image im = Image.open('D:/pythonword/tt.jpg') print im.format, im.size, im.mode
系统报错: IOError: cannot identify image file 文件路径下确实存在图片tt.jpg,为什么还是不能识别图片文件呢? 求讲解,谢谢。
Sign in to make a reply
哗啦啦啦啦啦哎呀呀呀呀呀
windows系统,代码如下:
import Image im = Image.open('D:/pythonword/tt.jpg') print im.format, im.size, im.mode
系统报错: IOError: cannot identify image file 文件路径下确实存在图片tt.jpg,为什么还是不能识别图片文件呢? 求讲解,谢谢。