Answers for "python image on image"

4

show image in python

from PIL import Image

#read the image
im = Image.open("sample-image.png")

#show image
im.show()
Posted by: Guest on November-01-2020
2

pil resize image

im = Image.open('image.jpg')  
im = im.resize((w, h))
Posted by: Guest on October-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language