[gimp/pippin/linear-is-the-new-black: 9/11] app: make brightness-contrast work in non-lienar space



commit d74bdd8f15bf964403bcf2a0e399cc90f44ed1fb
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Jan 22 00:26:50 2017 +0100

    app: make brightness-contrast work in non-lienar space

 app/operations/gimpoperationbrightnesscontrast.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/operations/gimpoperationbrightnesscontrast.c 
b/app/operations/gimpoperationbrightnesscontrast.c
index 656624c..8e6a598 100644
--- a/app/operations/gimpoperationbrightnesscontrast.c
+++ b/app/operations/gimpoperationbrightnesscontrast.c
@@ -85,7 +85,7 @@ gimp_operation_brightness_contrast_init (GimpOperationBrightnessContrast *self)
 static void
 gimp_operation_brightness_contrast_prepare (GeglOperation *operation)
 {
-  const Babl *format = babl_format ("RGBA float");
+  const Babl *format = babl_format ("R'G'B'A 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]