This command adds pixels randomly to the image. A glow is added based on a combination of the pixel colors and the glow color.

As an example, if you use the following image:
And you were to call DiffuseGlowCommand using the following settings:

Parameter

Value

GlowAmount

50

ClearAmount

50

SpreadAmount

10

WhiteNoiseRange

10

GlowColor

white

The following figure results:

If the image has a region, the effect will be applied on the region only.

This method supports 12-bit and 16-bit grayscale and 48-bit and 64-bit color images. Support for 12-bit and 16-bit grayscale and 48-bit and 64-bit color images is available only in the Document/Medical toolkits.