pub(super) fn reader(bytes: &[u8]) -> Result<ImageReader<Cursor<&[u8]>>>Expand description
Creates an image reader for encoded picture bytes.
The reader infers the source format when recognized. It returns an error only when probing the bytes fails.