Erik Hedvall
Erik Hedvall
The accuracy difference may be some trigonometry function that's different. Converting back to RGB yields near perfect results, so the round trip seem to be working as it should.
Getting UCS to work well is pretty challenging. The main issue is that it's based on brightness, while the "main" metric and default for `PartialCam16` is lightness. The current version...
Splitting the colors into groups, and forcing XYZ CAM16 conversion to be explicit, avoids the issue with the default parameters. Now it's up to the user to make sure they...
I think this latest change solved the last major challenge with this addition. It's nice that splitting the spaghetti of conversations into groups actually seems to work so well, since...
For anyone who's watching this, feel free to start testing it. I would appreciate any input on the API and of course possible bugs.
I ended up changing the approach for partial CAM16. The generic struct complicated trait implementations to the degree that it didn't really save any effort, compared to a cookie cutter...
The `cam16` module needs some documentation, but I think it will finally be good to go after that. This is enough for today, though.
That's the largest squash I have ever done. I think it's ready for merging now.
I thought the same, and I see no reason to keep sitting on the name on crates.io, either. :slightly_smiling_face: Let me just figure out the practicalities, then, and I will...
@mwallner, you should have received both an invite to the crates.io crate and a request for this repository. Once the transfer is done, you should probably want to edit the...