Simple colorspace conversions in Rust.
- Pure Rust, no dependencies.
- Most functions compile to a C lib
- sRGB, RGB, CIE XYZ, CIE LAB, Oklab, JzAzBz, HSV
- LCH/Cylindrical versions of all LAB spaces
- Accurate across a wide variety of tests, referencing colour-science
- Look into SIMD when supported by standard library
- More spaces?
- Generic dtypes?
convert_space_sliced
is slower than it could be. Waiting for slice_as_chunks to land in stable.- Performing many (>100) conversions in sequence will gradually degrade the data due to tiny precision issues accumulating.
Question | Answer |
---|---|
Why? | I just wanna say "go from this to this" without any fuss. |