PIL pillow code example
Example 1: pillow python
pip install pillow
Example 2: 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))
Example 3: pil python image
from PIL import Image
im = Image.open("bride.jpg")
im.rotate(45).show()