Trait exr::image::read::levels::ReadSamplesLevel

source ·
pub trait ReadSamplesLevel {
    type Reader: SamplesReader;

    // Required method
    fn create_samples_level_reader(
        &self,
        header: &Header,
        channel: &ChannelDescription,
        level: Vec2<usize>,
        resolution: Vec2<usize>,
    ) -> Result<Self::Reader>;
}
Expand description

A template that creates a SamplesReader once for each resolution level.

Required Associated Types§

source

type Reader: SamplesReader

The type of the temporary level reader

Required Methods§

source

fn create_samples_level_reader( &self, header: &Header, channel: &ChannelDescription, level: Vec2<usize>, resolution: Vec2<usize>, ) -> Result<Self::Reader>

Create a single reader for a single resolution level

Implementors§