aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMark Oteiza2017-09-26 17:13:36 -0400
committerMark Oteiza2017-09-30 08:00:53 -0400
commit645ff6c7029daef082b3a558407121207fa64ff5 (patch)
tree2a19d973cdb446169347fb3b7848ce753a8cac51 /etc
parent157007b58e41afc848f79c99aced0f09109dfdac (diff)
downloademacs-645ff6c7029daef082b3a558407121207fa64ff5.tar.gz
emacs-645ff6c7029daef082b3a558407121207fa64ff5.zip
Add CAM02 JCh and CAM02-UCS J'a'b' conversions
* src/lcms.c (rad2deg, parse_jch_list, parse_jab_list, xyz_to_jch): (jch_to_xyz, jch_to_jab, jab_to_jch): New functions. (lcms-jch->xyz, lcms-jch->xyz, lcms-jch->jab, lcms-jab->jch): New Lisp functions. (lcms-cam02-ucs): Refactor. (syms_of_lcms2): Declare new functions. * test/src/lcms-tests.el (lcms-roundtrip, lcms-ciecam02-gold): (lcms-jmh->cam02-ucs-silver): New tests. * etc/NEWS: Mention new functions.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ab9a2a5f32d..adeee9e6ef2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -76,7 +76,8 @@ If the lcms2 library is installed, Emacs will enable features built on
76top of that library. The new configure option '--without-lcms2' can 76top of that library. The new configure option '--without-lcms2' can
77be used to build without lcms2 support even if it is installed. Emacs 77be used to build without lcms2 support even if it is installed. Emacs
78linked to Little CMS exposes color management functions in Lisp: the 78linked to Little CMS exposes color management functions in Lisp: the
79color metrics 'lcms-cie-de2000' and 'lcms-cam02-ucs'. 79color metrics 'lcms-cie-de2000' and 'lcms-cam02-ucs', as well as
80functions for conversion to and from CIE CAM02 and CAM02-UCS.
80 81
81** The configure option '--with-gameuser' now defaults to 'no', 82** The configure option '--with-gameuser' now defaults to 'no',
82as this appears to be the most common configuration in practice. 83as this appears to be the most common configuration in practice.