Macrosยง
- define_
colors ๐
Structsยง
- Luma
- Grayscale colors.
- LumaA
- Grayscale colors + alpha channel
- Rgb
- RGB colors.
- Rgba
- RGB colors + alpha channel
Enumsยง
- Color
Type - An enumeration over supported color types and bit depths
- Extended
Color Type - An enumeration of color types encountered in image formats.
Constantsยง
- SRGB_
LUMA ๐ - Coefficients to transform from sRGB to a CIE Y (luminance) value.
- SRGB_
LUMA_ ๐DIV
Traitsยง
- Blend ๐
- Blends a color inter another one
- From
Color - Provides color conversions for the different pixel types.
- From
Primitive - Convert from one pixel component type to another. For example, convert from
u8
tof32
pixel values. - Into
Color ๐ - Copy-based conversions to target pixel types using
FromColor
. - Invert ๐
- Invert a color
Functionsยง
- normalize_
float ๐ - rgb_
to_ ๐luma