Known Background

May 22, 2015 at 7:58 PM
Trying to do exactly this with Magick.NET

convert.exe overlay_figure.gif overlay_mask.png -alpha off -compose CopyOpacity -composite overlay_removed.png

http://www.imagemagick.org/Usage/masking/#known_bgnd

I have tried using MagickImageCollection, adding both images, but don't see options for -alpha and -compose, the best I could find was:
                result.HasAlpha = false;    
                result.Compose = CompositeOperator.CopyAlpha;
TIA
May 22, 2015 at 8:00 PM
It would have helped had I just searched a little first: https://magick.codeplex.com/discussions/571560

Sorry about that