im = Image.open(\'segmentace_zkusebni_pi.jpg\') pixel = list(im.getdata())
gets me a list of RGB of every pixel in the image. For my thesis (not program