Skip to main content

capture_frame

Function capture_frame 

Source
async fn capture_frame(
    state: &AppState,
    host: &HostIpc,
    block_id: &str,
) -> Result<RgbaImage, String>
Expand description

One frame: the host’s capture of block_id as JPEG, blacked out where it has secret fields.