diff options
| author | Mark Oteiza | 2017-09-26 17:13:36 -0400 |
|---|---|---|
| committer | Mark Oteiza | 2017-09-30 08:00:53 -0400 |
| commit | 645ff6c7029daef082b3a558407121207fa64ff5 (patch) | |
| tree | 2a19d973cdb446169347fb3b7848ce753a8cac51 /etc | |
| parent | 157007b58e41afc848f79c99aced0f09109dfdac (diff) | |
| download | emacs-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/NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -76,7 +76,8 @@ If the lcms2 library is installed, Emacs will enable features built on | |||
| 76 | top of that library. The new configure option '--without-lcms2' can | 76 | top of that library. The new configure option '--without-lcms2' can |
| 77 | be used to build without lcms2 support even if it is installed. Emacs | 77 | be used to build without lcms2 support even if it is installed. Emacs |
| 78 | linked to Little CMS exposes color management functions in Lisp: the | 78 | linked to Little CMS exposes color management functions in Lisp: the |
| 79 | color metrics 'lcms-cie-de2000' and 'lcms-cam02-ucs'. | 79 | color metrics 'lcms-cie-de2000' and 'lcms-cam02-ucs', as well as |
| 80 | functions 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', |
| 82 | as this appears to be the most common configuration in practice. | 83 | as this appears to be the most common configuration in practice. |