]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 1 Aug 2012 11:57:29 +0000 (11:57 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 1 Aug 2012 11:57:29 +0000 (11:57 +0000)
MagickCore/colorspace.c

index d5e1b821351edf4d48be13a013b2cdbdc8b9dcae..f905f28d46a3d6253e59b0b57ccb81df5479ba24 100644 (file)
@@ -1539,7 +1539,7 @@ static inline void ConvertLabToXYZ(const double L,const double a,const double b,
   if (pow(y,3.0) > CIEEpsilon)
     y=pow(y,3.0);
   else
-    y=L/CIEK;
+    y=(100.0*L)/CIEK;
   if (pow(z,3.0) > CIEEpsilon)
     z=pow(z,3.0);
   else