Answers for "python change resolution of an image"

2

change image resolution pillow

size = 7016, 4961
im = Image.open("my_image.png")
im_resized = im.resize(size, Image.ANTIALIAS)
im_resized.save("my_image_resized.png", "PNG")
Posted by: Guest on July-22-2020

Code answers related to "python change resolution of an image"

Python Answers by Framework

Browse Popular Code Answers by Language