What did you do?
img.getpixel([473, 653])
What did you expect to happen?
the pixel at that position is returned
What actually happened?
An unexpected error message: TypeError: argument must be sequence of length 2
But the argument is a sequence of length 2
What are your OS, Python and Pillow versions?
- OS: Ubuntu 18.04
- Python: 3.9
- Pillow: '9.4.0'
img = Image.open('test.png')
img.getpixel([473, 653])