ImageGear Professional v18.2 > API Reference Guide > Effects Component API Reference > Effects Component Objects > IGEffectsCtl Control > IGEffectsCtl Methods > AddTexture Method |
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.
AddTexture (pPage As IGPage, pTexturePage As IGPage)
Name | Description |
---|---|
pPage | Reference to IGPage Object for which to apply the texture. |
pTexturePage | Reference to IGPage Object of the texture image. |
N/A
8-bit gray level, 9-16-bit gray level, 24, and 32
Ip_Fx