[gimp] Revert "libgimpcolor: use D50 for the gray profiles"
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Revert "libgimpcolor: use D50 for the gray profiles"
- Date: Mon, 14 Dec 2015 17:44:01 +0000 (UTC)
commit 822bfabe212cd71ce124145f6ae99eafdcc95e83
Author: Michael Natterer <mitch gimp org>
Date: Mon Dec 14 18:43:26 2015 +0100
Revert "libgimpcolor: use D50 for the gray profiles"
This reverts commit 169f436e7567cd025dbdb29614b5c7e6f2cff85d.
Turns out we should use the same whitepoint for RGB and GRAY.
libgimpcolor/gimpcolorprofile.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgimpcolor/gimpcolorprofile.c b/libgimpcolor/gimpcolorprofile.c
index dcd8d2f..785802d 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 D50 */
- cmsCIExyY whitepoint = { 0.345702915, 0.358538597, 1.0 };
+ /* white point is D65 from the sRGB specs */
+ cmsCIExyY whitepoint = { 0.3127, 0.3290, 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 D50 */
- cmsCIExyY whitepoint = { 0.345702915, 0.358538597, 1.0 };
+ /* white point is D65 from the sRGB specs */
+ cmsCIExyY whitepoint = { 0.3127, 0.3290, 1.0 };
cmsToneCurve *curve = cmsBuildGamma (NULL, 1.0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]