SetAlphaFromMaskCommand Constructor (AtalaImage, Boolean, AlphaMergeType) |
Creates a new instance of SetAlphaFromMask specifying maskImage, resizeMask and mergeType.
Namespace:
Atalasoft.Imaging.ImageProcessing.Channels
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public SetAlphaFromMaskCommand(
AtalaImage maskImage,
bool resizeMask,
AlphaMergeType mergeType
)
Public Sub New (
maskImage As AtalaImage,
resizeMask As Boolean,
mergeType As AlphaMergeType
)
Parameters
- maskImage
- Type: Atalasoft.ImagingAtalaImage
An 8-bit image used to generate the alpha channel. - resizeMask
- Type: SystemBoolean
Set to true if the mask should be resized to fit the image. - mergeType
- Type: Atalasoft.Imaging.ImageProcessingAlphaMergeType
The type of merge performed.
See Also