summaryrefslogtreecommitdiff
path: root/src/cmspcs.c
diff options
context:
space:
mode:
authorMarti Maria <info@littlecms.com>2014-10-20 17:51:30 +0200
committerMarti Maria <info@littlecms.com>2014-10-20 17:51:30 +0200
commitc2f3a91471273ff8a81487a70dcc652aa2722fa0 (patch)
tree08d85f307117869a22786c6a91786f3f1332fc6a /src/cmspcs.c
parentd61231a1efb9eb926cbf0235afe03452302c6009 (diff)
downloadlcms2-c2f3a91471273ff8a81487a70dcc652aa2722fa0.tar.gz
Preparation of 2.7
Diffstat (limited to 'src/cmspcs.c')
-rw-r--r--src/cmspcs.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmspcs.c b/src/cmspcs.c
index 102cd7d..fbf49a0 100644
--- a/src/cmspcs.c
+++ b/src/cmspcs.c
@@ -106,6 +106,15 @@ void CMSEXPORT cmsxyY2XYZ(cmsCIEXYZ* Dest, const cmsCIExyY* Source)
Dest -> Z = ((1 - Source -> x - Source -> y) / Source -> y) * Source -> Y;
}
+/*
+ The break point (24/116)^3 = (6/29)^3 is a very small amount of tristimulus
+ primary (0.008856). Generally, this only happens for
+ nearly ideal blacks and for some orange / amber colors in transmission mode.
+ For example, the Z value of the orange turn indicator lamp lens on an
+ automobile will often be below this value. But the Z does not
+ contribute to the perceived color directly.
+*/
+
static
cmsFloat64Number f(cmsFloat64Number t)
{