SyntaxFix
Write A Post
Hire A Developer
Questions
You probably want the next transformation for you pixels:
pixels = map(list, image.getdata())