Function pixels_graphics_lib::prelude::load_image
source · pub fn load_image<R>(
r: R,
format: ImageFormat
) -> Result<Image, ImageWrapperError>
Expand description
Load image bytes (from png, bmp, etc) as Image Useful with include_bytes!()