from PIL import Image img = Image.open("lena.jpg") (w, h) = img.size print('w=%d, h=%d', w, h) img.show() new_img = img.resize((256, 256))
確定! 回上一頁