Initializes a new instance of the Bitmap class over memory the caller owns; its contents are kept.
public Bitmap(Memory<byte> pixels, int width, int height, int stride)
At least (height − 1) × stride + width × 4 bytes.
The width in pixels, at least 1.
The height in pixels, at least 1.
The bytes from the start of one row to the start of the next, at least width × 4.