pub fn to_rgb8(
format: PixelFormat,
width: u32,
height: u32,
row_stride: Option<usize>,
src: &[u8],
) -> Result<Vec<u8>, ConvertError>Expand description
The frame as 8-bit RGB, three bytes per pixel.
Allocates its output; Converter::rgb8 reuses buffers between frames.