pub fn frame_message(bgrx: &[u8], w: u32, h: u32) -> Result<Vec<u8>, String>
The screen’s pixels as the X server hands them (blue, green, red, one unused byte per pixel) as one frame message: the kind byte, then a JPEG.