]> git.eshelyaron.com Git - emacs.git/commit
Add CAM02 JCh and CAM02-UCS J'a'b' conversions
authorMark Oteiza <mvoteiza@udel.edu>
Tue, 26 Sep 2017 21:13:36 +0000 (17:13 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Sat, 30 Sep 2017 12:00:53 +0000 (08:00 -0400)
commit645ff6c7029daef082b3a558407121207fa64ff5
tree2a19d973cdb446169347fb3b7848ce753a8cac51
parent157007b58e41afc848f79c99aced0f09109dfdac
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.
etc/NEWS
src/lcms.c
test/src/lcms-tests.el