Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python image processing and resizing

image = Image.open('demo_image.jpg')
image.thumbnail((400, 400))
image.save('image_thumbnail.jpg')

print(image.size) # Output: (400, 267)
Source by auth0.com #
 
PREVIOUS NEXT
Tagged: #python #image #processing #resizing
ADD COMMENT
Topic
Name
4+6 =