Function imagefmt::read_from [] [src]

pub fn read_from<R: Read + Seek>(
    reader: &mut R,
    req_fmt: ColFmt
) -> Result<Image<u8>>

Like read but reads from a reader.

To read in-memory images use std::io::Cursor.