Trait Decoder

Source
pub trait Decoder:
    Debug
    + Send
    + Sync {
    // Required method
    fn decode_tile(
        &self,
        buffer: Bytes,
        photometric_interpretation: PhotometricInterpretation,
        jpeg_tables: Option<&[u8]>,
    ) -> AsyncTiffResult<Bytes>;
}
Expand description

A trait to decode a TIFF tile.

Required Methods§

Source

fn decode_tile( &self, buffer: Bytes, photometric_interpretation: PhotometricInterpretation, jpeg_tables: Option<&[u8]>, ) -> AsyncTiffResult<Bytes>

Decode a TIFF tile.

Implementors§