From 1dfe5648fac72cec800cd1d22c82c9695bb1defb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 5 Mar 2014 18:41:13 +0100 Subject: info: doc ciexyz_to_cielab cielab_to_xiexyz delta_e MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/blueshift.texinfo | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'info') diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index 9b36be9..70e7fa0 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -630,12 +630,23 @@ Convert [0, 1] sRGB to CIE xyY @item ciexyy_to_srgb(x, y, Y) Convert CIE xyY to [0, 1] sRGB + +@item ciexyz_to_cielab(x, y, z) +Convert CIE XYZ to CIE L*a*b* + +@item cielab_to_xiexyz(l, a, b) +Convert CIE L*a*b* to CIE XYZ @end table All these functions return lists with the three colour components, not tuples. Input and output is one colour instance. +If you want to calculated the distance (difference) +between two colours, you can use @code{delta_e}. It +has two parameters, each is red–green–blue-tuple of +an sRGB colour. + @node Preexisting adjustments @section Preexisting adjustments -- cgit v1.2.3-70-g09d2