ImageGear Professional for Windows ActiveX
RippleTexture Method

Description:

Provides the ripple effect on the image, as if it is looked at through a relief glass. The function uses an image as a ripple pattern. If the scaled ripple pattern image is smaller than the source image, or if offsets are greater than 0, pattern is repeated over the image.

Syntax:

Sub RippleTexture(Page As IGPage, Texture As IGPage, Depth As
Single, Scale As Single, XOffset As Long, YOffset As Long,
smoothness As Single, Invert As Boolean)

Parameters:

Name Description
Page IGPage Object to which to apply the effect.
Texture IGPage Object to use as a ripple pattern.
Depth Strength of the ripple effect.
Scale Specifies the scaling factor for pattern image.
XOffset Horizontal offset at which the upper left corner of the ripple texture shall be placed.
YOffset Horizontal offset at which the upper left corner of the ripple texture shall be placed.
smoothness Specifies how much the ripple pattern should be smoothed before applying.
Invert Inverts the ripple pattern, effectively swapping "convex" and "concave" areas.

Return Value:

N/A

Bits Per Pixel:

All color spaces for image, DibStd for texture. The first channel of the texture is used as ripple mask.

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback