#coding:utf-8

from PIL import Image
import matplotlib.pyplot as plt
img=Image.open("F:\\Upan\\源代码\\MR\\源码\\14\\shop\\admin\\upimages\\8.jpg")
plt.figure("8")
plt.imshow(img)
plt.show()
img.save("f:\\111111.jpg")
在python3中,出错在verbose=matplotlib.verbose这里 因为在Python3中matplotlib中是Verbose 在2.7中正常

 

相关文章:

  • 2021-06-08
  • 2021-12-01
  • 2021-08-24
  • 2021-12-21
  • 2022-12-23
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案