Skip to content

Conversation

@expenses
Copy link
Contributor

@expenses expenses commented Oct 22, 2025

Currently, our Color type is quantized to 8 bits for no good reason. I thought I'd change it to use floating point values between 0.0 and 1.0, as well as introduce explicitly quantized color types (one encoded using the sRGB transfer function and another quantized linearly). This will require a lot of code changes elsewhere and will probably not get merged any time soon.

@ogoffart
Copy link
Member

I know this is a DRAFT, but be careful not to change the public API.

@expenses
Copy link
Contributor Author

I know this is a DRAFT, but be careful not to change the public API.

Fair enough, I'll restore the old structs/functions and mark them as deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants