commit | 0c125416d27796cd9becc0df8cbb763ee1c5e189 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Mon May 06 16:54:07 2013 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Mon May 06 16:54:07 2013 +0000 |
tree | fbad636318529b4df22f1b0bcebad411c23be3b5 | |
parent | 87c3489e3d6ef626ed3a7a727c384cb5b2846aab [diff] [blame] |
diff --git a/MagickCore/gem.c b/MagickCore/gem.c index 3ae8979..37cb75a 100644 --- a/MagickCore/gem.c +++ b/MagickCore/gem.c
@@ -759,7 +759,7 @@ assert(red != (double *) NULL); assert(green != (double *) NULL); assert(blue != (double *) NULL); - ConvertLCHabToXYZ(luma*100.0,255.0*(chroma-0.5),255.0*(hue-0.5),&X,&Y,&Z); + ConvertLCHabToXYZ(100.0*luma,255.0*(chroma-0.5),255.0*(hue-0.5),&X,&Y,&Z); ConvertXYZToRGB(X,Y,Z,red,green,blue); }