Function encode_image

Source
pub fn encode_image(bmp_image: &Image) -> Result<Vec<u8>>