#coding=utf-8 from PIL import Image I = Image.open('JINSHA.jpg') I.show() L = I.convert('L') L.show()
ps:最重要的是注意文件路径