Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

image processing and resizing with python

image = Image.open('demo_image.jpg')
logo = Image.open('logo.png')
image_copy = image.copy()
position = ((image_copy.width - logo.width), (image_copy.height - logo.height))
image_copy.paste(logo, position)
image_copy.save('pasted_image.jpg')
Source by auth0.com #
 
PREVIOUS NEXT
Tagged: #image #processing #resizing #python
ADD COMMENT
Topic
Name
1+6 =