[categories] [index] [all (564)] [latest]
from PIL import Image H = 5, W = 3 img = Image.open("img.png") for h in range(H): print() for w in range(W): r,g,b = img.getpixel((w, h)) print(r,g,b)