Function systemicons::get_icon[][src]

pub fn get_icon(ext: &str, size: i32) -> Result<Vec<u8>, Error>
Expand description

Retrieving system icon. You have to specify the file extension and desired icon size (like 16, 32 or 64). Returns the icon formatted as png as byte buffer.