from PIL import Image img = Image.open('obama.jpg') dim = (400, 200) newimg = img.resize(dim) # save the new image to a new filename ...
確定! 回上一頁