from PIL import Image
img = Image.open("bucky.jpg")
print(img.size)
print(img.format)
img.show() # save image as temporary file and open
from PIL import Image
img = Image.open("bucky.jpg")
print(img.size)
print(img.format)
img.show() # save image as temporary file and open
本文标题:Python 42 Programming Tutorial
本文链接:https://www.haomeiwen.com/subject/qaaxettx.html
网友评论