From: cristy Date: Wed, 24 Sep 2014 12:18:30 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1978 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f30a9f66164c1e913990674afec815ad10487b05;p=imagemagick --- diff --git a/MagickCore/image.c b/MagickCore/image.c index 3c09f32c5..800e25b0a 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -2880,7 +2880,7 @@ MagickExport MagickBooleanType SetImageAlpha(Image *image,const Quantum alpha, } for (x=0; x < (ssize_t) image->columns; x++) { - if (GetPixelReadMask(image,q) == 0) + if (GetPixelReadMask(image,q) != 0) SetPixelAlpha(image,alpha,q); q+=GetPixelChannels(image); }