Answers for "PIL pillow"

8

python pil

from PIL import Image

img = Image.open("./my_image.png")
Posted by: Guest on July-14-2020
6

python image library

from PIL import image

img = image.open('C:\Users\you\path\to\your\image.jpg')
pix = img.getpixel((100,100))
img.putpixel((0,0),(0,0,255))
Posted by: Guest on April-23-2020
0

pil python image

from PIL import Image
im = Image.open("bride.jpg")
im.rotate(45).show()
Posted by: Guest on March-23-2021

Browse Popular Code Answers by Language