Struct CompressedDeepTileBlock
pub struct CompressedDeepTileBlock { pub coordinates: TileCoordinates, pub decompressed_sample_data_size: usize, pub compressed_pixel_offset_table: Vec<i8>, pub compressed_sample_data_le: Vec<u8> }
This Block is a tile of deep data.
Corresponds to type attribute deeptile.
The byte data is in little-endian format,
as these bytes will be written into the file directly.
Fields
coordinates: TileCoordinatesThe tile location.
decompressed_sample_data_size: usizeCount of samples.
compressed_pixel_offset_table: Vec<i8>The pixel offset table is a list of integers, one for each pixel column within the data window. Each entry in the table indicates the total number of samples required to store the pixel in it as well as all pixels to the left of it.
compressed_sample_data_le: Vec<u8>One or more scan lines may be stored together as a scan line block. The number of scan lines per block depends on how the pixel data are compressed. For each line in the tile, for each channel, the row values are contiguous.
Implementations
impl CompressedDeepTileBlock
fn write<W: Write>(&self, write: &mut W) -> UnitResultWithout validation, write this instance to the byte stream.
fn read(read: &mut impl Read, hard_max_block_byte_size: usize) -> Result<Self>Read the value without validating.
Trait Implementations
impl Clone for CompressedDeepTileBlock
fn clone(&self) -> Self
impl Debug for CompressedDeepTileBlock
fn fmt(&self, f: &mut Formatter<'_>) -> Result