From e505105fc4654c6de6c7177fce2e4e6eccbe0295 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 12 Feb 2012 14:49:54 +0000 Subject: [PATCH] --- MagickCore/constitute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0