Function bmp::from_reader [] [src]

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.