Extract just the alpha channel from a canvas element.
Canvas element or its DOM id.
Uint8Array with shape [height, width], or null on failure.
Extract just the alpha channel from a canvas element.