Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python image processing

image = Image.open('demo_image.jpg')
new_image = image.resize((400, 400))
new_image.save('image_400.jpg')

print(image.size) # Output: (1920, 1280)
print(new_image.size) # Output: (400, 400)
Source by auth0.com #
 
PREVIOUS NEXT
Tagged: #python #image #processing
ADD COMMENT
Topic
Name
7+8 =