Indexing a PIL image

Viewed 5358

Is PIL's image coordinate indexing reversed? Is it indexed as image[column, row]?

I have an image which I open using PIL (pillow)

img = Image.open('picture.png').load()

and when I try to print the pixel value of the first row, second column

print(img[0,1])

I get the pixel value of the 2nd row's first column

Can anyone clear this out?

1 Answers
Related