[−][src]Function nannou::image::load_from_memory_with_format
pub fn load_from_memory_with_format(
buf: &[u8],
format: ImageFormat
) -> Result<DynamicImage, ImageError>
Create a new image from a byte slice
pub fn load_from_memory_with_format(
buf: &[u8],
format: ImageFormat
) -> Result<DynamicImage, ImageError>
Create a new image from a byte slice