Gets the RGBA pixel array from an Image/Video/Canvas source