from PIL import Image im = Image.open('image.jpg', 'r') width, height = im.size pixel_values = list(im.getdata()) pixel_values[width*y+x]