Function libavif::encode_rgb8

source ·
pub fn encode_rgb8(
    width: u32,
    height: u32,
    rgb: &[u8]
) -> Result<AvifData<'static>, Error>
Expand description

Encode an 8 bit per channel RGB, RGBA or Luma8 image