Produces bitmap which contains transformed copy of given bitmap data (which remains unchanged) using specified mask.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Overrides Sub ApplyMaskTransform ( _ source As BitmapData, _ mask As Bitmap, _ destination As Bitmap _ )
public override void ApplyMaskTransform( BitmapData source, Bitmap mask, Bitmap destination )
Type: Aurigma.GraphicsMill.BitmapData
Input BitmapData. It is not modified with the transform algorithm.Type: Aurigma.GraphicsMill.Bitmap
Bitmap which defines mask. Mask should be 8-bit grayscale bitmap (its pixel format is Format8bppGrayScale) of the same dimensions as original image.Type: Aurigma.GraphicsMill.Bitmap
Output Bitmap. It should be instantiated before passing to this method. After transform algorithm completes, all data loaded to this bitmap is discarded and result is copied here.