pub fn decode_file<P: AsRef<Path>>(path: P) -> Result<RawImage>
Take a path to a raw file and return a decoded image or an error
let image = match rawler::decode_file("path/to/your/file.RAW") { Ok(val) => val, Err(e) => ... some appropriate action when the file is unreadable ... };