(void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
if (image->colorspace == colorspace)
return(MagickTrue);
- if ((IssRGBCompatibleColorspace(image->colorspace) != MagickFalse) &&
+ if ((image->colorspace == GRAYColorspace) && (image->gamma != 1.0) &&
(colorspace == sRGBColorspace))
return(MagickTrue);
if (colorspace == UndefinedColorspace)