aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-25 23:06:02 +0100
committerMattias Andrée <maandree@kth.se>2023-01-25 23:06:02 +0100
commitf069c4ef439a7dec79275f5019cb0eb1c2eece76 (patch)
treea70b31f1b4593004aafb9bd204ea939c7e140507
parentAdd man pages + some minor fixes (diff)
downloadlibglitter-f069c4ef439a7dec79275f5019cb0eb1c2eece76.tar.gz
libglitter-f069c4ef439a7dec79275f5019cb0eb1c2eece76.tar.bz2
libglitter-f069c4ef439a7dec79275f5019cb0eb1c2eece76.tar.xz
libglitter_desaturate_double.3: NULL as primary_ys
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libglitter_desaturate_double.37
1 files changed, 7 insertions, 0 deletions
diff --git a/libglitter_desaturate_double.3 b/libglitter_desaturate_double.3
index 057efb7..36a5ef8 100644
--- a/libglitter_desaturate_double.3
+++ b/libglitter_desaturate_double.3
@@ -105,6 +105,13 @@ chroma as CIE xy values, and the output's white point, the
and
.BR libglitter_get_colour_model_conversion_matrix_float (3)
can calculate and output the primary colour's CIE Y values.
+If
+.I nrasters
+is 3 and the order of the rasters is (0) red, (1) green, (2) blue,
+.I primary_ys
+can also be
+.IR NULL ,
+in which case the appropriate values for the sRGB colour model is used.
.PP
By default, these functions do not use hardware acceleration,
they run on the CPU. However the