Sets the alpha channel to an image.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public sealed class SetAlpha : MaskTransform
using (var alpha = new SetAlpha()) { alpha.AlphaSource = ImageReader.Create(@"Images\alpha.png"); alpha.AutoDisposeAlphaSource = true; Pipeline.Run(@"Images\in.jpg" + alpha + @"Images\Output\out.png"); }