Answers for "how to change image size in python"

2

pil resize image

im = Image.open('image.jpg')  
im = im.resize((w, h))
Posted by: Guest on October-17-2020
0

how to reduce the image files size in python

from PIL import Image
im = Image.open('test.tiff')
im.save('test.jpeg')
Posted by: Guest on September-05-2021

Code answers related to "how to change image size in python"

Python Answers by Framework

Browse Popular Code Answers by Language