]> granicus.if.org Git - imagemagick/commitdiff
PNG gray with a gamma of 1 is linear
authorCristy <urban-warrior@imagemagick.org>
Sun, 24 Dec 2017 18:56:13 +0000 (13:56 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 24 Dec 2017 18:56:13 +0000 (13:56 -0500)
coders/png.c

index de3fbf21fa0a87e73c10b94e018842397c0dc145..9214bc42e467afd5fff6af30582692a0f7f76d05 100644 (file)
@@ -3165,7 +3165,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info,
            * image->colorspace to GRAY, and reset image->chromaticity.
            */
           image->intensity = Rec709LuminancePixelIntensityMethod;
-          SetImageColorspace(image,sGRAYColorspace,exception);
+          SetImageColorspace(image,GRAYColorspace,exception);
         }
       else
         {