]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 7 Apr 2013 00:16:24 +0000 (00:16 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 7 Apr 2013 00:16:24 +0000 (00:16 +0000)
coders/jpeg.c

index d40d94fd33a54bc71e89b64f9d09cd9060635775..313e278f4ba9f4657b5074686080eace1859b33c 100644 (file)
@@ -1207,8 +1207,8 @@ static Image *ReadJPEGImage(const ImageInfo *image_info,
     }
     case JCS_GRAYSCALE:
     {
-      (void) SetImageColorspace(image,GRAYColorspace,exception);
       image->intensity=Rec709LumaPixelIntensityMethod;
+      (void) SetImageColorspace(image,GRAYColorspace,exception);
       break;
     }
     case JCS_YCbCr: