Pillow provides the resize() method, which takes a (width, height) tuple as an argument. from PIL import Image image = Image.open('sunset.jpg') ...
確定! 回上一頁