Trait exr::image::write::channels::ChannelsWriter

source ·
pub trait ChannelsWriter: Sync {
    // Required method
    fn extract_uncompressed_block(
        &self,
        header: &Header,
        block: BlockIndex,
    ) -> Vec<u8> ;
}
Expand description

A temporary writer for a list of channels

Required Methods§

source

fn extract_uncompressed_block( &self, header: &Header, block: BlockIndex, ) -> Vec<u8>

Deliver a block of pixels, containing all channel data, to be stored in the file

Implementors§

source§

impl<'c, Channels> ChannelsWriter for CroppedWriter<Channels>
where Channels: ChannelsWriter,

source§

impl<'channels, PxWriter, Storage, Channels> ChannelsWriter for SpecificChannelsWriter<'channels, PxWriter, Storage, Channels>
where Channels: Sync, Storage: GetPixel, Storage::Pixel: IntoRecursive, PxWriter: Sync + RecursivePixelWriter<<Storage::Pixel as IntoRecursive>::Recursive>,

source§

impl<Samples> ChannelsWriter for AnyChannelsWriter<Samples>
where Samples: SamplesWriter,