Skip to main content

frame_from

Function frame_from 

Source
pub(crate) fn frame_from(bytes: &[u8]) -> Result<RgbaImage, String>
Expand description

A host capture as a frame: decoded, scaled to FRAME_WIDTH if wider, and opaque (GIF has no partial alpha).