Python API: add mathutils.Color functions to convert color spaces

Between scene linear and sRGB, XYZ, linear Rec.709 and ACES2065-1.

And add some clarifications about color spaces in the docs.

Fixes T98267

Ref T68926

Differential Revision: https://developer.blender.org/D14989
This commit is contained in:
2022-05-19 20:31:58 +02:00
parent 2f2d13b8c6
commit 469ee7ff15
10 changed files with 231 additions and 28 deletions

View File

@@ -4,6 +4,7 @@ set(INC
.
../../blenkernel
../../blenlib
../../imbuf
../../bmesh
../../depsgraph
../../makesdna
@@ -42,6 +43,7 @@ set(SRC
set(LIB
bf_blenlib
bf_imbuf
bf_python_ext
${PYTHON_LINKFLAGS}