Module image::color

source ·

Macros

Structs

  • Grayscale colors.
  • Grayscale colors + alpha channel
  • RGB colors.
  • RGB colors + alpha channel

Enums

  • An enumeration over supported color types and bit depths
  • An enumeration of color types encountered in image formats.

Constants

Traits

  • Blend 🔒
    Blends a color inter another one
  • Provides color conversions for the different pixel types.
  • Convert from one pixel component type to another. For example, convert from u8 to f32 pixel values.
  • IntoColor 🔒
    Copy-based conversions to target pixel types using FromColor.
  • Invert 🔒
    Invert a color

Functions