[babl/wip/pippin/inverted-cmyk: 1/4] babl-space: add babl-rgb like sRGB with linear TRC
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl/wip/pippin/inverted-cmyk: 1/4] babl-space: add babl-rgb like sRGB with linear TRC
- Date: Fri, 9 Nov 2018 01:07:39 +0000 (UTC)
commit 9185821bdeedc0cac33647f1df6722ee68462380
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Nov 9 01:55:00 2018 +0100
babl-space: add babl-rgb like sRGB with linear TRC
babl/babl-space.c | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/babl/babl-space.c b/babl/babl-space.c
index 025ab50..ef58f2b 100644
--- a/babl/babl-space.c
+++ b/babl/babl-space.c
@@ -438,6 +438,14 @@ babl_space_class_init (void)
0);
/* hard-coded pre-quantized values - to match exactly what is used in standards see issue #18 */
#endif
+ babl_space_from_chromaticities ("babl-rgb",
+ 0.3127, 0.3290, /* D65 */
+ 0.639998686, 0.330010138,
+ 0.300003784, 0.600003357,
+ 0.150002046, 0.059997204,
+ babl_trc("linear"), NULL, NULL,
+ 0);
+ /* hard-coded pre-quantized values - to match exactly what is used in standards see issue #18 */
babl_space_from_chromaticities ("Rec2020",
0.3127, 0.3290, /* D65 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]