Is there an obvious way to do this that I\'m missing? I\'m just trying to make thumbnails.
The following script creates nice thumbnails of all JPEG images preserving aspect ratios with 128x128 max resolution.
from PIL import Image img = Image.open("D:\\Pictures\\John.jpg") img.thumbnail((680,680)) img.save("D:\\Pictures\\John_resize.jpg")