]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 23 May 2015 12:36:41 +0000 (12:36 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 23 May 2015 12:36:41 +0000 (12:36 +0000)
MagickCore/channel.c

index b468d2d04209ca52945af37dd453ad32a183de25..16a8845958b8892be01a21e6f847ff133ea3c1de 100644 (file)
@@ -1137,6 +1137,7 @@ MagickExport MagickBooleanType SetImageAlphaChannel(Image *image,
           status=MagickFalse;
       }
       image_view=DestroyCacheView(image_view);
+      image->alpha_trait=UndefinedPixelTrait;
       return(status);
     }
     case DiscreteAlphaChannel: