Function image::io::free_functions::load
source ยท 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 io::Reader
for more advanced uses.