pixelFormat should be set in canvas.getContext. Verified by the correct byteLength for the canvas buffer (2 bytes per pixal)
Created Using with framebuffer devices (markdown)