Create a pixmap and copy buffer contents into it
Pixamp with copied pixels, or null
https://fiddle.skia.org/c/@Bitmap_peekPixels