Expand description
Core traits, image buffers, dimensions, and error types shared across the gamut codecs.
This crate is dependency-free with respect to the format crates: every codec in the
workspace builds on the Encoder / Decoder traits and the Error type defined
here, so that callers get a single, consistent error surface regardless of format.
Structs§
- Dimensions
- Width and height of an image, in pixels.
Enums§
- Error
- Errors produced by gamut encoders and decoders.
Traits§
- Decoder
- Decodes a compressed byte stream into raw pixels.
- Encoder
- Encodes an in-memory image into a compressed byte stream.
Type Aliases§
- Result
- Convenience result type for gamut operations.