How do I resize an image using PIL and maintain its aspect ratio? How do I resize an image using PIL and maintain its aspect ratio? python python