From: cristy Date: Tue, 26 Jun 2012 16:16:18 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=392570f69ebffd992e52b1297d2b04a668e8adfe;p=imagemagick --- diff --git a/MagickCore/constitute.c b/MagickCore/constitute.c index cdb18542e..2570e70ca 100644 --- a/MagickCore/constitute.c +++ b/MagickCore/constitute.c @@ -664,8 +664,6 @@ 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)) - next->colorspace=RGBColorspace; value=GetImageProperty(next,"tiff:Orientation",exception); if (value == (char *) NULL) value=GetImageProperty(next,"exif:Orientation",exception);