GNU bug report logs -
#28400
26.0.50; lcms2 bindings
Previous Next
Reported by: Mark Oteiza <mvoteiza <at> udel.edu>
Date: Sat, 9 Sep 2017 15:52:02 UTC
Severity: wishlist
Found in version 26.0.50
Fixed in version 26.1
Done: Mark Oteiza <mvoteiza <at> udel.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Wishlist.
Hi,
Some time ago I wrote some integration with lcms2 in the interest of
replacing tty-color-approximate, color-distance, etc. with superior
(more perceptually uniform) color metrics. This would presumably
improve Emacs' color picking on smaller color palettes (e.g. 256 color
term) and potentially provide access to many useful color-related
functions in Lisp---not to discount color.el.
I am not sure how this might be added--perhaps in its own .c file and
exposing a feature?
Attached is a patch splicing lcms2 CIE DE2000 into color-distance.
I don't know what x_alloc_nearest_color_1 does but I apparently patched
that as well.
Also attached is a small module with CIE DE2000 and CAM02-UCS color
distance functions.
[lcms2.patch (text/x-diff, attachment)]
[lcms2.c (text/x-csrc, attachment)]
This bug report was last modified 7 years and 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.