Page 1 of 1

MagickSetImageAlphaChannel always returns MagickFalse?

Posted: 2012-10-26T11:23:09-07:00
by sacha
In ImageMagick 6.7.9-4, there are several code paths in SetImageAlphaChannel (magick/channel.c) that will always return MagickFalse. The 'status' variable that is ultimately returned is initialised to MagickFalse, but the switch cases for ActivateAlphaChannel and DeactivateAlphaChannel (for example) do not set it to MagickTrue.

If this is intentional please let me know how to detect whether there's been an exception!

Re: MagickSetImageAlphaChannel always returns MagickFalse?

Posted: 2012-10-26T12:27:39-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.0-4 Beta available by sometime tomorrow. Thanks.