Trait ChannelsReader

pub trait ChannelsReader

Processes pixel blocks from a file and accumulates them into multiple channels per layer.

Associated Types

type Channels;

The type of the resulting channel collection

Required Methods

fn filter_block(&self, tile: TileCoordinates) -> bool

Specify whether a single block of pixels should be loaded from the file

fn read_block(&mut self, header: &Header, block: UncompressedBlock) -> UnitResult

Load a single pixel block, which has not been filtered, into the reader, accumulating the channel data

fn into_channels(self) -> Self::Channels

Deliver the final accumulated channel collection for the image

Implementors