Parameters
- format
- A value that specifies the size and arrangement of channels in each pixel.
- alphaMode
- A value that specifies whether the alpha channel is using pre-multiplied alpha, straight alpha, whether it should be ignored and considered opaque, or whether it is unknown.