create_img_bytes

Function create_img_bytes 

Source
pub fn create_img_bytes(
    image: &DynamicImage,
    format: ImageFormat,
) -> ImageResult<Vec<u8>>
Expand description

Encodes the provided DynamicImage into a byte array in the requested image format