Skip to main content

rgba_image

Function rgba_image 

Source
pub fn rgba_image(
    data: &[u8],
    width: usize,
    height: usize,
    stride: usize,
) -> Option<ColorImage>
Expand description

An RGBA picture from rows stride bytes apart, for a backend: None when the bytes do not hold it.