[babl] extensions: Fix M/Y channels swapped for CMYK float



commit 78e1c9129c8eb1fe9d53f220a807959b6b0b4f39
Author: Jon Nordby <jononor gmail com>
Date:   Tue Aug 12 01:45:13 2014 +0200

    extensions: Fix M/Y channels swapped for CMYK float
    
    Pretty sure CMYK should have channel order cmyk and not cymk

 extensions/naive-CMYK.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/naive-CMYK.c b/extensions/naive-CMYK.c
index 62669dc..0da6ef7 100644
--- a/extensions/naive-CMYK.c
+++ b/extensions/naive-CMYK.c
@@ -96,8 +96,8 @@ init (void)
     babl_model ("CMYK"),
     babl_type ("float"),
     babl_component ("cyan"),
-    babl_component ("yellow"),
     babl_component ("magenta"),
+    babl_component ("yellow"),
     babl_component ("key"),
     NULL
   );
@@ -106,8 +106,8 @@ init (void)
     babl_model ("CMY"),
     babl_type ("float"),
     babl_component ("cyan"),
-    babl_component ("yellow"),
     babl_component ("magenta"),
+    babl_component ("yellow"),
     NULL
   );
 


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