一、利用PIL库
二、代码
from PIL import Image
import matplotlib.pyplot as plt
img = Image.open('中国历史纪年表.webp')
plt.imshow(img)
plt.show()
img.save('中国历史纪年表.png')
一、利用PIL库
二、代码
from PIL import Image
import matplotlib.pyplot as plt
img = Image.open('中国历史纪年表.webp')
plt.imshow(img)
plt.show()
img.save('中国历史纪年表.png')