Adobe Photoshop CS5 Object Library JS: NoiseDistribution

Photoshop CS5

 The distribution method to use when applying an Add Noise filter.

Value

NameDescriptionValue
NoiseDistribution.GAUSSIANDistributes color values of noise along a bell-shaped curve, creating a speckled effect. int 2
NoiseDistribution.UNIFORMDistributes color values of noise using random numbers between 0 and plus or minus the specified value, creating a subtle effect. int 1

Usage

In function

void ArtLayer.applyAddNoise (amount: number, distribution: NoiseDistribution, monochromatic: bool)

void ArtLayer.applyLensBlur ([source: DepthMapSource=DepthMapSource.NONE][, focalDistance: int=0][, invertDepthMap: bool=false][, shape: Geometry=Geometry.HEXAGON][, radius: int=15][, bladeCurvature: int=0][, rotation: int=0][, brightness: int=0][, threshold: int=0][, amount: int=0][, distribution: NoiseDistribution=NoiseDistribution.UNIFORM][, monochromatic: bool=false])

Jongware, 28-Aug-2012 v3.0.3iContents :: Index