[][src]Function bmp::from_reader

pub fn from_reader<R: Read>(source: &mut R) -> BmpResult<Image>

Attempts to construct a new Image from the given reader. Returns a BmpResult, either containing an Image or a BmpError.