]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authoranthony <anthony@git.imagemagick.org>
Wed, 4 Apr 2012 02:18:59 +0000 (02:18 +0000)
committeranthony <anthony@git.imagemagick.org>
Wed, 4 Apr 2012 02:18:59 +0000 (02:18 +0000)
MagickCore/colorspace.c

index 957f0e0ea75ab505b41ad41b54e344b6faffc020..36aedb73e300a4d8bae7f0bf1a05e8d160226df5 100644 (file)
@@ -2276,10 +2276,7 @@ MagickExport MagickBooleanType TransformRGBImage(Image *image,
     {
       /*
         Nonlinear sRGB to linear RGB.
-
-          R = 1.0*R+0.0*G+0.0*B
-          G = 0.0*R+1.0*G+0.0*B
-          B = 0.0*R+0.0*G+1.0*B
+        Mostly removal of a gamma function, but with a linear component
       */
 #if defined(MAGICKCORE_OPENMP_SUPPORT)
       #pragma omp parallel for schedule(static)