[babl] extensions: Register CMYK u8 format



commit 21571c7bbd3a27bd78d78598a6732741a95fb265
Author: Jon Nordby <jononor gmail com>
Date:   Tue Aug 12 01:48:21 2014 +0200

    extensions: Register CMYK u8 format

 extensions/naive-CMYK.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/extensions/naive-CMYK.c b/extensions/naive-CMYK.c
index 0da6ef7..f92b0d2 100644
--- a/extensions/naive-CMYK.c
+++ b/extensions/naive-CMYK.c
@@ -111,6 +111,17 @@ init (void)
     NULL
   );
 
+  babl_format_new (
+    "name", "CMYK u8",
+    babl_model ("CMYK"),
+    babl_type ("u8"),
+    babl_component ("cyan"),
+    babl_component ("magenta"),
+    babl_component ("yellow"),
+    babl_component ("key"),
+    NULL
+  );
+
   return 0;
 }
 


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