pub fn open(name: &str) -> BmpResult<Image>Expand description
Returns a BmpResult, either containing an Image or a BmpError.
ยงExample
extern crate bmp;
let img = bmp::open("test/rgbw.bmp").unwrap_or_else(|e| {
panic!("Failed to open: {}", e);
});