Hacker News new | ask | show | jobs
Show HN: I am developing a type safe colorspace library for Rust (crates.io)
12 points by caramellow 1516 days ago
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 :)

1 comments

Why would someone use this over palette (https://github.com/Ogeon/palette)?
With 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

less implementation and extensibility complexity whilst aiming to provide complex and fast conversions that cannot fail for an image type suitable for image processing needs.