ColoredPencil method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short ColoredPencil(ILEADRaster * pRaster, long lRatio, long lDim);

Overview

Refer to Applying Artistic Effects.

Remarks

(Raster Pro and above only) Applies an effect to a bitmap that makes it look like it has been drawn with colored pencils.

As an example, if you use the following figure:

image\ColoredPencil_O.gif

If you call the ColoredPencil method using the following values:

Parameter

Value

lRatio

90

lDim

3

The following figure will result:

image\ColoredPencil_P_1.gif

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale 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:

Impressionist method, Dry method.

Topics:

Raster Images: Modifying Intensity Values.

 

Raster Images: Filtering Images