Get each pixel value
Listing 3 calls the getpixel function:
A pixel value returned by the getpixel function is simply a numeric value of type int.
The pixel value is composed of red, green, and blue color values
(And possibly a transparency value, commonly known as alpha as well. More on alpha in a future lesson.)