-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[editorial] Explain the relationship between color management and -srgb
formats
#4587
Comments
Accidentally posted before I finished writing. Updated above. cc @toji |
I believe you have them backwards, but I'm going to double-check. |
What I wrote mostly only says what's not true. Do you mean the part about gamma conversion? |
I believe the spec should stand as-is, and that we should only describe the transfer function for reading and writing -srgb formats and let people decide if they want that. I think it is unexpectedly valuable to purposefully avoid talking about common purposes here, and really just say, "it's math, it behaves like so". My foremost recommendation is to at-most non-normatively note that " I do not think we should describe While the proposal correctly says "unorm is not like css-color(srgb-linear", I think it would be better to either not mention the css-color, or to explicitly and verbosely say " I removed the "editorial" tag since I was unclear whether the intent here is to add a non-normative section, since the current section in question is normative. Feel free to add it back if the intent is for a non-normative note. |
You're right, and that section is technically correct, but the association of the two, due to their textual proximity, made me go off and double-check. |
Oh, yes, it can be non-normative. That makes sense since the point of this text is just to point out that I'll try to incorporate your feedback and send a PR. |
Throwing out more ideas. I think being explicit that how the data in the texture is interpreted by the browser/css/display is "out-of-scope". In other words, talking about "linear color spaces" is irrelevant and misleading? since you can use All Reading
Writing
Dang that's hard to read 😱. Maybe show the formula from one of the specs 😅 Another code way might be
I'm not sure this is helpful. I just worry any word about "linear color space" seems to assume the values in the texture mean more than they do? |
In this section we specify
This kind of sounds like it conflicts with the existence of
-srgb
formats.I just wrote this explanation and realized it should be in the spec too (integrated in some way that makes sense, probably in that section):
The text was updated successfully, but these errors were encountered: