Function image::load_from_memory_with_format
source · pub fn load_from_memory_with_format(
buf: &[u8],
format: ImageFormat
) -> ImageResult<DynamicImage>
Expand description
Create a new image from a byte slice
pub fn load_from_memory_with_format(
buf: &[u8],
format: ImageFormat
) -> ImageResult<DynamicImage>
Create a new image from a byte slice