diff --git a/MagickCore/nt-feature.c b/MagickCore/nt-feature.c
index d7cc8bc..209dd57 100644
--- a/MagickCore/nt-feature.c
+++ b/MagickCore/nt-feature.c
@@ -179,7 +179,8 @@
bitmap_bits=(RGBQUAD *) GlobalLock((HGLOBAL) bitmap_bitsH);
if ( bitmap.bmBits == NULL )
bitmap.bmBits = bitmap_bits;
- if (IssRGBColorspace(image->colorspace) == MagickFalse)
+ if ((IssRGBColorspace(image->colorspace) == MagickFalse) &&
+ (IsGrayColorspace(image->colorspace) == MagickFalse))
TransformImageColorspace(image,sRGBColorspace,exception);
/*
Extract crop image.