News for hackers. Stuff that matters.

Show HN: I am developing a type safe colorspace library for Rust

https://crates.io/crates/colortypes

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 :)

( 3 comments | 12 points | on HN )
Re:Show HN: I am developing a type safe colorspace library f... by masonium on Monday May 02, 2022 @12:41AM (#31231546)
Why would someone use this over palette (https://github.com/Ogeon/palette)?
Re:Show HN: I am developing a type safe colorspace library f... by caramellow on Friday May 13, 2022 @09:37PM (#31374321)
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

Re:Show HN: I am developing a type safe colorspace library f... by caramellow on Monday May 02, 2022 @03:19AM (#31232242)
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.