Does PIL resize to the exact dimensions I give it no matter what? Or will it try to keep the aspect ratio if I give it something like the Image.ANTIALIAS argume
Image.ANTIALIAS
No, it does not. But you can do something like the following:
im = PIL.Image.open("email.jpg")) width, height = im.size im = im.resize((width//2, height//2))
Here the height and width are divided by the same number, keeping the same aspect ratio.