From: cristy Date: Sun, 12 Feb 2012 14:49:54 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e505105fc4654c6de6c7177fce2e4e6eccbe0295;p=imagemagick --- diff --git a/MagickCore/constitute.c b/MagickCore/constitute.c index 845d489c7..205a0c2d7 100644 --- a/MagickCore/constitute.c +++ b/MagickCore/constitute.c @@ -647,7 +647,7 @@ MagickExport Image *ReadImage(const ImageInfo *image_info, next->magick_columns=next->columns; if (next->magick_rows == 0) next->magick_rows=next->rows; - if ((next->colorspace == sRGBColorspace) || (next->gamma == 1.0)) + if ((next->colorspace == sRGBColorspace) && (next->gamma == 1.0)) next->colorspace=RGBColorspace; value=GetImageProperty(next,"tiff:Orientation",exception); if (value == (char *) NULL)