Skip to main content

load_image_any

Function load_image_any 

Source
pub fn load_image_any(path: &Path, g00_frame_index: usize) -> Result<RgbaImage>
Expand description

Load an image from disk.

Supported:

  • .g00 (decoded by our g00 decoder)
  • .png/.jpg/.bmp (decoded by image crate)

DDS is detected but not decoded in this stage.