From: cristy Date: Tue, 17 Jul 2012 11:02:32 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3276f88ad403964889b37196aa5a605c2c2ba6f0;p=imagemagick --- diff --git a/coders/gradient.c b/coders/gradient.c index b0c4277c8..d1330fb71 100644 --- a/coders/gradient.c +++ b/coders/gradient.c @@ -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));