[ ] PIL Python |
from PIL import Image, ImageDraw
image = Image.open('test.jpg') #
draw = ImageDraw.Draw(image) #
width = image.size[0] #
height = image.size[1] #
pix = image.load() #
https://habr.com/ru/post/451074/?utm_source=habrahabr&utm_medium=rss&utm_campaign=451074