|
aest 0.1.0
Collection of C++ utility libraries
|
Converts colors from one color space to another. More...
Converts colors from one color space to another.
The primary template is only declared: specialize it for each conversion a color space provides directly, with a static convert method. Every space needs at least the conversions to and from its ParentSpace; convert() reaches every other space of the tree through them. Other specializations are shortcuts, preferred over the path through the tree.
Specializations must be visible before the conversion is first used: concepts such as ConvertibleTo are evaluated once per translation unit.
| ColorOut | The desired output color space. |
| ColorIn | The input color space. |
Definition at line 119 of file Converter.cppm.