pub fn create_img_bytes(
image: &DynamicImage,
format: ImageFormat,
) -> Result<Vec<u8>, ImageError>Expand description
Encodes the provided DynamicImage into a byte array
in the requested image format
pub fn create_img_bytes(
image: &DynamicImage,
format: ImageFormat,
) -> Result<Vec<u8>, ImageError>Encodes the provided DynamicImage into a byte array
in the requested image format