Module palette::encoding

source ·
Expand description

Number and color encoding traits, types and standards.

Some color spaces, particularly RGB, may be encoded in more than one way and may have more than one standard. These encodings and standards are represented as type parameters in Palette, as a form of type branding, to prevent accidental mixups.

Re-exports§

  • pub use self::gamma::F2p2;
  • pub use self::gamma::Gamma;
  • pub use self::linear::Linear;
  • pub use self::srgb::Srgb;

Modules§

Traits§