pub fn load<R: BufRead + Seek>(
r: R,
format: ImageFormat
) -> ImageResult<DynamicImage>
Expand description
Create a new image from a Reader.
Assumes the reader is already buffered. For optimal performance,
consider wrapping the reader with a BufReader::new()
.
Try ImageReader
for more advanced uses.