[babl] further slight decrease of error in conversion



commit 5e4363e3686fda62399a27a13f93d65c2dbbae38
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Mon Apr 30 04:47:45 2012 +0200

    further slight decrease of error in conversion

 extensions/gegl-fixups.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/gegl-fixups.c b/extensions/gegl-fixups.c
index 7613c18..5a1b972 100644
--- a/extensions/gegl-fixups.c
+++ b/extensions/gegl-fixups.c
@@ -100,8 +100,8 @@ table_init (void)
           }
         else
           {
-            c  = (u.f * 255.165) + 0.5;
-            cg = (linear_to_gamma_2_2 (u.f) * 255.165) + 0.5;
+            c  = (u.f * 255.1619) + 0.5;
+            cg = (linear_to_gamma_2_2 (u.f) * 255.1619) + 0.5;
             if (cg > 255) cg = 255;
             if (c > 255) c = 255;
           }



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