summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2013-08-29 10:55:19 +0100
committerRichard Hughes <richard@hughsie.com>2013-08-29 11:39:30 +0100
commitab222ed1fad31f96902c6f6ac0453ddc6d49df09 (patch)
tree994e0893245df6ed039d13fc59aab11ab76598eb
parentd0955e98d5c42d317515410c288b62336d27a663 (diff)
downloadcolord-ab222ed1fad31f96902c6f6ac0453ddc6d49df09.tar.gz
Use the exact D50 whitepoint values
I don't think it matters that the values are 0.014% different, but the CIE specification says we should use these exact values.
-rw-r--r--client/cd-create-profile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/cd-create-profile.c b/client/cd-create-profile.c
index 1f0d20a..3a4235b 100644
--- a/client/cd-create-profile.c
+++ b/client/cd-create-profile.c
@@ -592,7 +592,8 @@ cd_util_create_standard_space (CdUtilPrivate *priv,
white.x = 0.33333;
white.y = 0.33333;
} else if (g_strcmp0 (data, "D50") == 0) {
- cmsWhitePointFromTemp (&white, 5003);
+ white.x = 0.345703;
+ white.y = 0.358539;
} else if (g_strcmp0 (data, "D65") == 0) {
cmsWhitePointFromTemp (&white, 6504);
} else {