Perlin method (ILEADRasterProcess)
short Perlin(ILEADRaster * pRaster, long lSeed, long lFrequency, long lDensity, long lOpacity, OLE_COLOR crBackColor, OLE_COLOR crPerlinColor, long lxCircle, long lyCircle, long lFreqLayout, long lDenLayout, long lFlags); | |
Overview |
Refer to Applying Artistic Effects. |
Remarks
(Raster Pro and above only) Uses a pseudo-random number generator in order to create a Perlin noise, and then procedurally transforms that noise into a texture.
This texture depends on the flags that are set. The texture can be saved as a bitmap by itself, or the texture can be combined with another bitmap. For more information, refer to Using the Perlin method.
This method is similar to the Clouds method in that they both use Perlin equations to generate pseudo-random noise, but each method applies different equations to the noise to produce the texture.
Use the AddNoise method in order to add random noise to a bitmap.
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