getImagePixels

Extract a pixel array from a loaded image. Draws the image into a canvas so it can read the pixels back.