]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 5 Mar 2013 01:06:21 +0000 (01:06 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 5 Mar 2013 01:06:21 +0000 (01:06 +0000)
coders/miff.c
coders/mpc.c

index eeabb5da8f03603f9793c7816fc923f263412076..8d2a9bc4185a89c87c8da1cbc713a150cac61165 100644 (file)
@@ -705,7 +705,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info,
                       MagickFalse,options);
                     if (colorspace < 0)
                       break;
-                    (void) SetImageColorspace(image,(ColorspaceType) colorspace,                      exception);
+                    image->colorspace=(ColorspaceType) colorspace;
                     break;
                   }
                 if (LocaleCompare(keyword,"compression") == 0)
index f02cf2021d4263bc1b80d6fa8163fc9127ed005e..351c00b1c5f7fe4f3a9bb686c011666171828d88 100644 (file)
@@ -409,7 +409,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception)
                       MagickFalse,options);
                     if (colorspace < 0)
                       break;
-                    (void) SetImageColorspace(image,(ColorspaceType) colorspace,                      exception);
+                    image->colorspace=(ColorspaceType) colorspace;
                     break;
                   }
                 if (LocaleCompare(keyword,"compression") == 0)