About storing pictures:

The pictures used here are 256×256 pixel pictures.

(256 = 28 is a power of 2,
this will play a role!)

 

A pixel is a small square in a fixed colour
(here we use 8-bit colours, thus there are 256 different colours
but this does not play any role).