Skip to main content

frame_message

Function frame_message 

Source
pub fn frame_message(bgrx: &[u8], w: u32, h: u32) -> Result<Vec<u8>, String>
Expand description

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.