Specifications

Table Of Contents
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 57
applyLensBlur
([source]
[, focalDistance]
[, invertDepthMap]
[, shape]
[, radius]
[, bladeCurvature]
[, rotation]
[, brightness]
[, threshold]
[, amount]
[, distribution]
[, monochromatic]
)
DepthMapSource
number
boolean
Geometry
number
number
number
number
number
number
NoiseDistribution
boolean
Applies the Lens Blur filter.
source: The source for the
depth map (default:
DepthMapSource.NONE)
focalDistance : The blur focal
distance for the depth map
(default:
0).
invertDepthMask : True if the
depth map is inverted (default:
false).
shape: The shape of the iris
(default:
Geometry.HEXAGON)
radius
: The radius of the iris
(default:
15).
bladeCurvature: The blade
curvature of the iris (default:
0).
rotation: The rotation of the
iris (default:
0)
brightness: The brightness for
the specular highlights (default:
0).
threshold: The threshold for
the specular highlights (default:
0).
amount: The amount of noise
(default:
0)
distribution: The distribution
value for the noise (default:
NoiseDistribution.UNIFORM).
monochromatic: True if the
noise is monochromatic
(default:
false).
applyLensFlare
(brightness,
flareCenter,
lensType)
number
array(UnitValue
)
LensType
Applies the Lens Flare filter with
the specified brightness (0 - 300,
as a percentage), the x and y
coordinates (unit value) of the
flare center, and the lens type.
applyMaximum
(radius)
number [1..100]
Applies the Maximum filter
within the specified radius (in
pixels).
applyMedianNoise
(radius)
number [1..100]
Applies the Median Noise filter
within the specified radius (in
pixels).
Method Parameter type Returns What it does (Continued)