Module: getImagePixels

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