Skip to main content

load_and_cache

Function load_and_cache 

Source
pub fn load_and_cache(bytes: &[u8], format_name: &str) -> Result<CachedImage>
Expand description

Load image bytes and create a cached image with optional downscaling