ImageGear Professional for Windows ActiveX
AddTexture Method

Description:

Applies a texture referenced by pTexturePage object to the image referenced by pPage object. The texture image is a small 8-bit grayscale image that is treated as a sign centered image. Pixels in the texture image that are 127 have no effect on the original image and the farther a texture image pixel is from 127, the greater its effect. The texture image is tiled over the entire original image starting in the top left corner. Any left over is clipped.

Sign centered images can be created using the emboss function.

This method takes into account the ROI settings of pPage object, that are accessible via the IGPage Object.ROI Property. By default ROI is set to the entire image.

Syntax:

      AddTexture (pPage As IGPage, pTexturePage As IGPage)

Parameters:

Name Description
pPage Reference to IGPage Object for which to apply the texture.
pTexturePage Reference to IGPage Object of the texture image.

Return Value:

N/A

Bits Per Pixel:

8-bit gray level, 9-16-bit gray level, 24, and 32

Sample:

Ip_Fx

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback