[gegl] operations: Antialias works on a perceptual color space
- From: Téo Mazars <teom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations: Antialias works on a perceptual color space
- Date: Sat, 3 Aug 2013 21:00:20 +0000 (UTC)
commit 87468e7976bf125c24c8438da2a127f95bd3ded3
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]