[gegl] png-load: invert gamma loaded from gAMA
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] png-load: invert gamma loaded from gAMA
- Date: Mon, 9 Jul 2018 13:02:06 +0000 (UTC)
commit c7e712a1397b4b92c3a66497273222699735859f
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Jul 9 15:01:34 2018 +0200
png-load: invert gamma loaded from gAMA
operations/external/png-load.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/operations/external/png-load.c b/operations/external/png-load.c
index 6778a728d..3365900fd 100644
--- a/operations/external/png-load.c
+++ b/operations/external/png-load.c
@@ -203,9 +203,9 @@ gegl_png_space (png_structp load_png_ptr,
red[0], red[1],
green[0], green[1],
blue[0], blue[1],
- babl_trc_gamma (gamma),
- babl_trc_gamma (gamma),
- babl_trc_gamma (gamma),
+ babl_trc_gamma (1.0/gamma),
+ babl_trc_gamma (1.0/gamma),
+ babl_trc_gamma (1.0/gamma),
1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]