Function exr::block::read

source ยท
pub fn read<R: Read + Seek>(
    buffered_read: R,
    pedantic: bool,
) -> Result<Reader<R>>
Expand description

Immediately reads the meta data from the file. Then, returns a reader that can be used to read all pixel blocks. From the reader, you can pull each compressed chunk from the file. Alternatively, you can create a decompressor, and pull the uncompressed data from it. The reader is assumed to be buffered.