check_ram_available

Function check_ram_available 

Source
fn check_ram_available(width: u32, height: u32) -> (bool, Option<String>)
Expand description

Check if there’s sufficient system RAM to decode an image (Linux only). Returns: (has_memory, error_message)