From: cristy Date: Sat, 26 Oct 2013 13:08:41 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3181 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3014005feb44c4ae8a23ab39f3d5c9f57272a56d;p=imagemagick --- diff --git a/MagickCore/colorspace.c b/MagickCore/colorspace.c index f3850af92..7887674a5 100644 --- a/MagickCore/colorspace.c +++ b/MagickCore/colorspace.c @@ -1132,8 +1132,6 @@ MagickExport MagickBooleanType TransformImageColorspace(Image *image, (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); if (colorspace == UndefinedColorspace) return(SetImageColorspace(image,colorspace,exception)); - if (image->colorspace == colorspace) - return(MagickTrue); /* same colorspace: no op */ /* Convert the reference image from an alternate colorspace to sRGB. */