Answers for "import image library python"

2

how to import image in python

from PIL import Image
Image1 = Image.open("ur_image_here");
Image1.show();
Posted by: Guest on December-06-2021
0

import Image

pip install pillow

from PIL import Image, ImageDraw
Posted by: Guest on December-01-2020
9

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

Browse Popular Code Answers by Language