Enum CompressedBlock
pub enum CompressedBlock
The raw, possibly compressed pixel data of a file.
Each layer in a file can have a different type.
Also contains positioning information that locates this
data block in the corresponding layer.
Exists inside a Chunk.
The byte data is in little-endian format,
as these bytes will be written into the file directly.
Variants
-
ScanLine(CompressedScanLineBlock) Scan line blocks of flat data.
-
Tile(CompressedTileBlock) Tiles of flat data.
-
DeepScanLine(CompressedDeepScanLineBlock) Scan line blocks of deep data.
-
DeepTile(CompressedDeepTileBlock) Tiles of deep data.
Trait Implementations
impl Clone for CompressedBlock
fn clone(&self) -> Self
impl Debug for CompressedBlock
fn fmt(&self, f: &mut Formatter<'_>) -> Result