[babl] further slight decrease of error in conversion
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] further slight decrease of error in conversion
- Date: Mon, 30 Apr 2012 18:32:37 +0000 (UTC)
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]