BumpMap method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int BumpMap(TBitmapHandle BumpBitmap, int nAzimuth, unsigned uElevation, unsigned uDepth, int nXOffset, int nYOffset, int nXDst, int nYDst, bool bTile, int nBright, int nIntensity, L_PUINT pLut);

Delphi Syntax

Function BumpMap (BumpBitmap: TBitmapHandle; nAzimuth: L_INT; uElevation: L_UINT; uDepth: L_UINT; nXOffset: L_INT; nYOffset: L_INT; nXDst: L_INT; nYDst: L_INT; bTile: Boolean; nBright: L_INT; nIntensity: L_INT; pLut: L_PUINT): L_INT;

Overview

Refer to Applying Artistic Effects

Remarks

(Raster Pro and above toolkits) Adds a three-dimensional texture pattern created by applying the bump image to the destination image.

If the bTile parameter is set to TRUE, the nXOffset and nYOffset parameters represent the offset in the bump image. If there is a region on the bump image, this region rectangle will represent the bump bitmap.

If the bTile parameter is set to FALSE, the nXOffset and nYOffset parameters represent the position in the bump image. If a region is defined for either the bump or destination bitmap, or both bitmaps, the effect applies only to the intersection of regions.

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:

AddNoise method, Emboss method, Mosaic method, MotionBlur method, Oilify method, Posterize method, RemoveRedeye method, Solarize method, Underlay method, Cubism method, DrawStar method, Dry method, FreePlaneBend method, FreeRadBend method, GlassEffect method, GlowFilter method, LensFlare method, Light method, Ocean method, PlaneBend method, Plane method, SampleTarget method, Tunnel method, Bending method, Cylindrical method, FreeHandShear method, FreeHandWave method, Impressionist method, Pixelate method, Polar method, Punch method, RadialBlur method, RadWave method, Ripple method, Spherize method, Swirl method, Wave method, Wind method, ZoomBlur method, ZoomWave method

Topics:

Raster Images: Combining Images