diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/curve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curve.py b/src/curve.py index 8f650a1..cca8a5a 100644 --- a/src/curve.py +++ b/src/curve.py @@ -135,7 +135,7 @@ def cie_brightness(r, g = ..., b = ...): if same: for i in range(i_size): (x, y, Y) = srgb_to_ciexyy(r_curve[i], g_curve[i], b_curve[i]) - (r_curve[i], g_curve[i], b_curve[i]) = ciexyy_to_srgb(x, y, t * level) + (r_curve[i], g_curve[i], b_curve[i]) = ciexyy_to_srgb(x, y, Y * r) else: for i in range(i_size): (x, y, Y) = srgb_to_ciexyy(r_curve[i], g_curve[i], b_curve[i]) |