[babl/wip/pippin/inverted-cmyk: 1/2] use inverted components in CMYK extension



commit c3683c2ff0ebf53d0256d250c031b91fb8ee8738
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Aug 19 11:18:41 2018 +0200

    use inverted components in CMYK extension
    
    This permits treating CMY as RGB in compositing/blending and treating CMYK
    similarly, when CLUT support exist we should also be able to use ICC properly
    for converting to and from CMYK spaces - as well as the impliciy CMYK from RGB
    space.

 extensions/Makefile.am  | 1 +
 extensions/naive-CMYK.c | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/extensions/Makefile.am b/extensions/Makefile.am
index a066e8d..e12ae9b 100644
--- a/extensions/Makefile.am
+++ b/extensions/Makefile.am
@@ -30,6 +30,7 @@ ext_LTLIBRARIES = \
        double.la       \
        float.la        \
        fast-float.la   \
+       CMYK.la         \
        naive-CMYK.la   \
        HCY.la          \
        HSL.la          \
diff --git a/extensions/naive-CMYK.c b/extensions/naive-CMYK.c
index 3b7a70c..c2d3071 100644
--- a/extensions/naive-CMYK.c
+++ b/extensions/naive-CMYK.c
@@ -45,6 +45,7 @@ int init (void);
 int
 init (void)
 {
+  return 0; // use the CMYK extension instead
   babl_component_new ("cyan", NULL);
   babl_component_new ("yellow", NULL);
   babl_component_new ("magenta", NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]