from PIL import Image. 2. . 3. im = Image.open('whatever.png'). 4. width, height = im.size. Source: stackoverflow.com. python pillow resize image.
確定! 回上一頁