Comprehensive colorspace conversions in Rust.
- Pure Rust, no dependencies.
- sRGB, RGB, CIE XYZ, CIE LAB, Oklab, JzAzBz, HSV
- LCH/Cylindrical versions of all LAB spaces
- Most functions compile to a C lib
- Generic over F32/F64 with const alpha channel
- FMA3 used where supported
- Accurate across a wide variety of tests, referencing colour-science
| Colcon | Rust |
|---|---|
| 0.10 | 1.65 |
main |
1.85 |
std::simdeither after stabilization or as a nightly feature- More spaces?
- iCtCp has extant conversion functions but no
Space::option yet as colour-science is inconsistent as reference
- iCtCp has extant conversion functions but no
| Question | Answer |
|---|---|
| Why? | I greatly enjoy working with Uniform Color Spaces and wish to see them become more accessible and easy to use. |