]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 26 Jun 2012 16:16:18 +0000 (16:16 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 26 Jun 2012 16:16:18 +0000 (16:16 +0000)
MagickCore/constitute.c

index cdb18542eb8d613690121cf65a47693d3ba46140..2570e70ca3a41b963d7337565a05cfd76251307a 100644 (file)
@@ -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);