SRGB↔XYZ Conversion (2021)
8 points by kqr 3 days ago | 5 comments

cmovq 6 hours ago
> Rust programmers can take advantage of the srgb crate

I don’t like the NPMification of Cargo. Do you really need to pull in a dependency for something like this?

reply
ChadNauseam 6 hours ago
Why not? Why is it better to copy and paste code from stack overflow than to pull in a dependency that does the same thing?
reply
q3k 6 hours ago
You can only pick the parts that you need and aren't now exposed to a supply chain attack. You can also easily adapt the code to your needs easily, especially as your needs change.

https://www.youtube.com/watch?v=PAAkCSZUG1c&t=568s

reply
jagged-chisel 6 hours ago
OT: Is that a unicode double-ended arrow in the post title on HN? Or is my DDG browser doing funny stuff?

Anyway, it’s out of place on the front page.

Edit: this reads a bit more complainy than I intended. Meant to be an observation.

reply
kelnos 5 hours ago
> Anyway, it’s out of place on the front page.

Why?

reply