4 ms·
Show HN: I am developing a type safe colorspace library for Rust
After two weeks of planning and figuring out how to manage conversions safely, I have finally published the first version of my crate :)
It allows you to specify your own colortypes and easily use the same syntax for converting between your custom color types!
I also started working on a custom image type that can do math :)
- masonium 4y agoWhy would someone use this over palette (https://github.com/Ogeon/palette https://github.com/Ogeon/palette)?
- caramellow 4y agoWith the new release it appears to be at least 10% faster than palette I also implemented a ton of new features :) https://crates.io/crates/colortypes/0.5.1 https://crates.io/crates/colortypes/0.5.1
- caramellow 4y agoless implementation and extensibility complexity whilst aiming to provide complex and fast conversions that cannot fail for an image type suitable for image processing needs.