getImagePixels

getImagePixels(image)CanvasPixelArray

Extract a pixel array from a loaded image. Draws the image into a canvas so it can read the pixels back.
Name Type Description
image Image The image to extract pixels from.
Returns:
The pixels of the image.