LBitmap::Impressionist

#include "ltwrappr.h"

virtual L_INT LBitmap::Impressionist(uHorzDim, uVertDim)

L_UINT uHorzDim;

/* horizontal size */

L_UINT uVertDim;

/* vertical size */

Makes a bitmap look like it was painted by an impressionist painter. This function is available in the Raster Pro and above toolkits.

Parameter

Description

uHorzDim

Horizontal effect size, in pixels. Possible values range from 1 – 100.

uVertDim

Vertical effect size, in pixels. Possible values range from 1 – 100.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function 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 function 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 function.

Required DLLs and Libraries

LTIMG

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LBitmap::BricksTexture, LBitmap::Canvas, LBitmap::Clouds, LBitmap::ColoredBalls, LBitmap::DiffuseGlow, LBitmap::DisplaceMap, LBitmap::Fragment, LBitmap::HalfTonePattern, LBitmap::MaskConvolution, LBitmap::MosaicTiles, LBitmap::Offset, LBitmap::Perspective, LBitmap::PlasmaFilter, LBitmap::Pointillist, LBitmap::RomanMosaic, LBitmap::Vignette, LBitmap::ZigZag, LBitmap::AddNoise, LBitmap::Emboss, LBitmap::Mosaic, LBitmap::MotionBlur, LBitmap::Oilify, LBitmap::Posterize, LDialogImageEffect::DoModalImpressionist, LBitmap::RemoveRedeye, LBitmap::Solarize, LBitmapBase::Underlay, LBitmap::Bending, LBitmap::Cylindrical, LBitmap::FreeHandShear, LBitmap::FreeHandWave, LBitmap::Pixelate, LBitmap::Polar, LBitmap::Punch, LBitmap::RadialBlur, LBitmap::RadWave, LBitmap::Ripple, LBitmap::Spherize, LBitmap::Swirl, LBitmap::Wave, LBitmap::Wind, LBitmap::ZoomBlur, LBitmap::ZoomWave

Topics:

Raster Image Functions: Doing Geometric Transformations

 

Processing an Image

 

Applying Artistic Effects

 

Raster Image Functions: Filtering Images

Example

void MyTestFunction(LAnimationWindow * pAniWnd) 
{
  pAniWnd->Impressionist( 10, 10);  
}