Expand description
Read and write already compressed pixel data blocks. Does not include the process of compression and decompression.
Structs§
- Chunk
- A generic block of pixel information. Contains pixel data and an index to the corresponding header. All pixel data in a file is split into a list of chunks. Also contains positioning information that locates this data block in the referenced layer. The byte data is in little-endian format, as these bytes will be written into the file directly.
- Compressed
Deep Scan Line Block - This
Blockconsists of one or more deep scan lines. Corresponds to type attributedeepscanline. The byte data is in little-endian format, as these bytes will be written into the file directly. - Compressed
Deep Tile Block - This
Blockis a tile of deep data. Corresponds to type attributedeeptile. The byte data is in little-endian format, as these bytes will be written into the file directly. - Compressed
Scan Line Block - A
Blockof possibly compressed flat scan lines. Corresponds to type attributescanlineimage. The byte data is in little-endian format, as these bytes will be written into the file directly. - Compressed
Tile Block - This
Blockis a tile of flat (non-deep) data. Corresponds to type attributetiledimage. The byte data is in little-endian format, as these bytes will be written into the file directly. - Tile
Coordinates - Indicates the position and resolution level of a
TileBlockorDeepTileBlock.
Enums§
- Compressed
Block - 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.