Change the spread of the pixels
Attach event handler to window, so will try it only
when the images are loaded