From 315f98667668ba59b80033429acf10fb3f4e13fe Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 12 Jan 2016 14:16:21 +0000 Subject: Fix colour range in XYZ -> RGBA. --- src/rgb_xyz.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc index 78083a7d..a44678f0 100644 --- a/src/rgb_xyz.cc +++ b/src/rgb_xyz.cc @@ -57,7 +57,7 @@ dcp::xyz_to_rgba ( uint8_t* argb ) { - int const max_colour = pow (2, 12) - 1; + int const max_colour = pow (2, 16) - 1; struct { double x, y, z; -- cgit v1.2.3