RasterImageExtension Class
Summary: Class with masks extension methods for RasterImage.
Module: aspose.imaging.magicwand
Full Name: aspose.imaging.magicwand.RasterImageExtension
Methods
Name | Description |
---|---|
apply_mask(image, mask) | Applies IImageMask to the RasterImage. |
select_mask(source, settings) | Creates a ImageBitMask with selection of pixels with colors similar to the color of the reference point based on MagicWandSettings. |
Method: apply_mask(image, mask) [static]
apply_mask(image, mask)
Applies IImageMask to the RasterImage.
Parameters:
Parameter | Type | Description |
---|---|---|
image | RasterImage | Image to apply mask to. |
mask | IImageMask | The mask to be applied. |
Method: select_mask(source, settings) [static]
select_mask(source, settings)
Creates a ImageBitMask with selection of pixels with colors similar to the color of the reference point based on MagicWandSettings.
Parameters:
Parameter | Type | Description |
---|---|---|
source | RasterImage | Raster image for the algorithm to work over. |
settings | MagicWandSettings | The settings used to process the selection, includes the reference point. |
Returns
Type | Description |
---|---|
ImageBitMask | New ImageBitMask. |