]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 17 Jul 2012 11:02:32 +0000 (11:02 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 17 Jul 2012 11:02:32 +0000 (11:02 +0000)
coders/gradient.c

index b0c4277c822d99f49db6ec34905129f14e4ec10d..d1330fb71b3b3cd184cbafeae56f664ca2031a90 100644 (file)
@@ -158,8 +158,6 @@ static Image *ReadGRADIENTImage(const ImageInfo *image_info,
       image=DestroyImageList(image);
       return((Image *) NULL);
     }
-  if (IssRGBColorspace(start_color.colorspace) != MagickFalse)
-    TransformImageColorspace(image,start_color.colorspace,exception);
   if ((start_color.matte == MagickFalse) && (stop_color.matte == MagickFalse))
     (void) SetImageAlphaChannel(image,DeactivateAlphaChannel,exception);
   return(GetFirstImageInList(image));