Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | degesch: pick colours based on relative luminance | Přemysl Eric Janouch | 2021-06-15 | 1 | -0/+23 |
Replaces the inaccurate Rec. 709 luma we used to use before. This is the first feature here that requires libm, which doesn't seem to be a particularly great sacrifice. Moreover, I've rectified that the input isn't linear in sRGB, and then was even normalized wrong for the luma formula. |