Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add ACEScg color space #54

Merged
merged 15 commits into from
Nov 25, 2024
Merged

Add ACEScg color space #54

merged 15 commits into from
Nov 25, 2024

Conversation

MightyBurger
Copy link
Contributor

This pull request resolves #14. See that issue topic and this Zulip topic for more information, especially on how that matrix was calculated.

I believe this is the first color space added to this crate that is not part of the CSS 4 spec. Because of this, I'm not sure how parsing or serialization should be done for this color space. Guidance would be appreciated, though we could possibly address this in a future PR.

Resolves linebender#14.

Further:

- Add Jordan Johnson to AUTHORS list.
This commit fixes issues with the documentation causing Clippy warnings.
This resolves clippy warnings for excessive precision.
@waywardmonkeys waywardmonkeys added this to the 0.2.0 milestone Nov 22, 2024
These rounding errors were caused by rounding to eight decimal places in calculation, then letting clippy
round the rest of the way.
Open to later revision, but as Tom points out, CSS color 5 suggests this serialization.
@waywardmonkeys
Copy link
Collaborator

This will need some rebasing and support for the new WHITE_COMPONENTS stuff.

Copy link
Member

@tomcur tomcur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@waywardmonkeys waywardmonkeys added this pull request to the merge queue Nov 25, 2024
Merged via the queue into linebender:main with commit 7f8f6aa Nov 25, 2024
15 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add color space for ACEScg
3 participants