[gegl/soc-2013-opecl-ops] operations: Antialias works on a perceptual color space



commit 2178682aa837706cc2dbce5026344c2929e80782
Author: Téo Mazars <teo mazars ensimag fr>
Date:   Sat Aug 3 22:50:24 2013 +0200

    operations: Antialias works on a perceptual color space
    
    Otherwise, dark areas appear eroded.

 operations/common/antialias.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/antialias.c b/operations/common/antialias.c
index 44cba19..6b88723 100644
--- a/operations/common/antialias.c
+++ b/operations/common/antialias.c
@@ -53,9 +53,9 @@ prepare (GeglOperation *operation)
   GeglOperationAreaFilter *op_area = GEGL_OPERATION_AREA_FILTER (operation);
 
   if (input_format == NULL || babl_format_has_alpha (input_format))
-    format = babl_format ("RGBA float");
+    format = babl_format ("R'G'B'A float");
   else
-    format = babl_format ("RGB float");
+    format = babl_format ("R'G'B' float");
 
   gegl_operation_set_format (operation, "input", format);
   gegl_operation_set_format (operation, "output", format);


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