pub fn load_reader(reader: impl Read) -> Result<DecodedImage, IoError>Expand description
Load an image from a streaming reader, auto-detecting the format.
Reads enough leading bytes to detect the format, then dispatches to the appropriate per-codec streaming decoder.
ยงErrors
Same as load, plus IoError::Io for read failures.