Skip to content

sRGB EOTF incorrect value for linear section? #722

Answered by KelSolaar
Myndex asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Myndex,

The draft of IEC 61966-2-1:1999 which is generally available to the public gives 0.0031308 for the OETF:

Note that it also gives 0.04045:

The former being more precise than the later, it is the one we use in our implementation, and for the reverse, as you noticed it, we compute its exact value for round-tripping reasons:

>>> import colour
>>> colour.models.oetf_sRGB(0.0031308)
0.040449935999999999

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by KelSolaar
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #466 on January 16, 2021 22:48.