Skip to content
Discussion options

You must be logged in to vote

You can do that with the following method:

using (var image = new MagickImage("without.tif"))
{
    using (var alpha = new MagickImage("with.tif"))
    {
        image.Composite(alpha, CompositeOperator.CopyAlpha);

        image.Write("out.tif");
    }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adobris
Comment options

Answer selected by adobris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants