From d828193351588567014eff84c453273a9801e9fe Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 24 Feb 2014 19:56:35 +0100 Subject: m doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/blueshift.texinfo | 2 +- src/colour.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index 1d37bbd..7cf5321 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -586,7 +586,7 @@ of functions used to convert colour space: Convert [0, 1] linear RGB to [0, 1] sRGB @item standard_to_linear(r, g, b) -Convert [0, 1] sRGB to linear [0, 1] RGB +Convert [0, 1] sRGB to [0, 1] linear RGB @item ciexyy_to_ciexyz(x, y, Y) Convert CIE xyY to CIE XYZ diff --git a/src/colour.py b/src/colour.py index 4a567d9..92210ea 100644 --- a/src/colour.py +++ b/src/colour.py @@ -28,7 +28,7 @@ def linear_to_standard(*colour): def standard_to_linear(*colour): ''' - Convert [0, 1] sRGB to linear [0, 1] RGB + Convert [0, 1] sRGB to [0, 1] linear RGB @param colour:*float The red component, the green component, and the blue component @return :[float, float, float] The red, green and blue components -- cgit v1.2.3-70-g09d2