Issue #83: improve babl_space_get_rgb_luminance() docs.
authorJehan <jehan@girinstud.io>
Tue, 6 Dec 2022 20:00:54 +0000 (21:00 +0100)
committerJehan <jehan@girinstud.io>
Tue, 6 Dec 2022 20:00:54 +0000 (21:00 +0100)
commit8a671a8f0eb6926faad80588613696c7d3c418b9
tree5d208a3c1cbca5ee288589a67cac880ccaab5f50
parentb8da8477e22e102fef05fe02f075fac4a462f788
Issue #83: improve babl_space_get_rgb_luminance() docs.

One of GIMP layer modes was using wrongfully these coefficients on
non-linear data (see gimp#3471). It was not clear from babl docs whether
babl was returning wrong coefficients for non-linear spaces, or whether
we were supposed to only ever use these coefficients on linear data.
This is the second case. So let's make the in-code docs clearer.
babl/babl.h