from PIL import Image img = Image.open('foo.jpg') width, height = img.size ratio = floor(height / width) newheight = ratio * 150 img.resize((150, ...
確定! 回上一頁