[gimp] libgimpcolor: use D50 for the gray profiles



commit 169f436e7567cd025dbdb29614b5c7e6f2cff85d
Author: Michael Natterer <mitch gimp org>
Date:   Mon Dec 14 01:32:35 2015 +0100

    libgimpcolor: use D50 for the gray profiles

 libgimpcolor/gimpcolorprofile.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgimpcolor/gimpcolorprofile.c b/libgimpcolor/gimpcolorprofile.c
index 785802d..dcd8d2f 100644
--- a/libgimpcolor/gimpcolorprofile.c
+++ b/libgimpcolor/gimpcolorprofile.c
@@ -1212,8 +1212,8 @@ gimp_color_profile_new_srgb_gray_internal (void)
 {
   cmsHPROFILE profile;
 
-  /* white point is D65 from the sRGB specs */
-  cmsCIExyY whitepoint = { 0.3127, 0.3290, 1.0 };
+  /* white point is D50 */
+  cmsCIExyY whitepoint = { 0.345702915, 0.358538597, 1.0 };
 
   cmsFloat64Number srgb_parameters[5] =
     { 2.4, 1.0 / 1.055,  0.055 / 1.055, 1.0 / 12.92, 0.04045 };
@@ -1274,8 +1274,8 @@ gimp_color_profile_new_linear_gray_internal (void)
 {
   cmsHPROFILE profile;
 
-  /* white point is D65 from the sRGB specs */
-  cmsCIExyY whitepoint = { 0.3127, 0.3290, 1.0 };
+  /* white point is D50 */
+  cmsCIExyY whitepoint = { 0.345702915, 0.358538597, 1.0 };
 
   cmsToneCurve *curve = cmsBuildGamma (NULL, 1.0);
 


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