libavif
pub fn encode_rgb8( width: u32, height: u32, rgb: &[u8]) -> Result<AvifData<'static>, Error>
Encode an 8 bit per channel RGB or RGBA image