Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #image #resolution #pillow
ADD COMMENT
Topic
Name
4+1 =