FeatherAlphaBlend method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short FeatherAlphaBlend(ILEADRaster *pRaster, float fLeft, float fTop, float fWidth, float fHeight, ILEADRaster *pRasterSrc, float fSrcLeft, float fSrcTop, ILEADRaster *pRasterMask);

Overview

Refer to Combining Images.

Remarks

(DigitalPaint only) Combines image data from two bitmaps with feathering, by combining the two bitmaps with a variable opacity that depends on a fade mask. This method is only available in the DigitalPaint toolkits.

To combine two bitmaps with a fixed opacity, use the AlphaBlend method.

The FeatherAlphaBlend method achieves feathering between two bitmaps by using variable opacity values, obtained from the fade mask contained in pRasterMask.

To create a bitmap that contains a fade mask, use the CreateFadedMask method.

This method supports 12 and 16-bit grayscale images and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

See Also

Elements:

Underlay method, Combine method, AlphaBlend method, CreateFadedMask method

Topics:

Raster Images: Combining Images

 

Image Processing