pub fn from_file<P>(icon_path: P) -> Result<Icon, Error>where P: AsRef<Path>,
Creates an icon from an image file.
This will return an error in case the file is missing at run-time. You may prefer from_file_data instead.
from_file_data