Expand description
A pure Rust BC1/2/3 compressor and decompressor based on Simon Brown’s libsquish
Structs§
Enums§
- Algorithm
- Defines a compression algorithm
- Format
- Defines a compression format
- Parse
Format Error
Constants§
- COLOUR_
WEIGHTS_ PERCEPTUAL - Weights based on the perceived brightness of each colour channel
- COLOUR_
WEIGHTS_ UNIFORM - Uniform weights for each colour channel
Functions§
- num_
blocks - Returns number of blocks needed for an image of given dimension
Type Aliases§
- Colour
Weights - RGB colour channel weights for use in block fitting