Aging method (ILEADRasterProcess)
short Aging (ILEADRaster *pRaster, long lHScratchCount, long lVScratchCount, long lMaxScratchLen, long lDustDensity,long lPitsDensity, long lMaxPitSize,OLE_COLOR crScratch, OLE_COLOR crDust, OLE_COLOR crPits,long lFlags); | |
Overview |
Refer to Applying Artistic Effects |
Remarks
(Raster Pro and above toolkits.) Adds effects that simulate random color changes, scratches, dust and pits, making a bitmap look like it was made from an old film.
The width of the scratches is 1 pixel. The length of the scratches is random (between 2 and lMaxScratchLen).
The size of dust particles is 1 pixel (1x1).
The size and shape of pits is selected at random. The pit shapes are random and will be between 1x1 and lMaxPitSize x lMaxPitSize.
The method will also make random changes to the pixel’s intensities.
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: |
Sharpen, Posterize, Emboss, Average, Median, AddNoise method, IntensityDetect, SpatialFilter, BinaryFilter, MaxFilter, MinFilter, Oilify, Solarize, WindowLevel, Mosaic. |
Topics: |
|
|
|
|