Skip to content

Commit 169f436

Browse files
committed
libgimpcolor: use D50 for the gray profiles
1 parent 11e8cac commit 169f436

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libgimpcolor/gimpcolorprofile.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1212,8 +1212,8 @@ gimp_color_profile_new_srgb_gray_internal (void)
12121212
{
12131213
cmsHPROFILE profile;
12141214

1215-
/* white point is D65 from the sRGB specs */
1216-
cmsCIExyY whitepoint = { 0.3127, 0.3290, 1.0 };
1215+
/* white point is D50 */
1216+
cmsCIExyY whitepoint = { 0.345702915, 0.358538597, 1.0 };
12171217

12181218
cmsFloat64Number srgb_parameters[5] =
12191219
{ 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)
12741274
{
12751275
cmsHPROFILE profile;
12761276

1277-
/* white point is D65 from the sRGB specs */
1278-
cmsCIExyY whitepoint = { 0.3127, 0.3290, 1.0 };
1277+
/* white point is D50 */
1278+
cmsCIExyY whitepoint = { 0.345702915, 0.358538597, 1.0 };
12791279

12801280
cmsToneCurve *curve = cmsBuildGamma (NULL, 1.0);
12811281

0 commit comments

Comments
 (0)