From: cristy Date: Wed, 12 Sep 2012 11:39:22 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4959 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2000687e2cb8bb293feba26ba46b4797b37b75cf;p=imagemagick --- diff --git a/coders/gray.c b/coders/gray.c index 7b5bb6dc1..741253627 100644 --- a/coders/gray.c +++ b/coders/gray.c @@ -187,6 +187,7 @@ static Image *ReadGRAYImage(const ImageInfo *image_info, if ((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) if (image->scene >= (image_info->scene+image_info->number_scenes-1)) break; + SetImageColorspace(image,GRAYColorspace,exception); if (scene == 0) { length=GetQuantumExtent(canvas_image,quantum_info,quantum_type);