Answers for "python pillow save part of image"

5

pil crop image

im = Image.open('image.jpg') 
im = im.crop((left, top, right, bottom))  # coordinates of the crop
Posted by: Guest on October-17-2020
0

save imag epillow

im.save(file + ".thumbnail", "JPEG")
Posted by: Guest on January-04-2021

Python Answers by Framework

Browse Popular Code Answers by Language