Applylensblur; Applylensflare - Adobe 19400084 - Photoshop CS3 Extended Manual

Javascript scripting reference
Table of Contents

Advertisement

JavaScript Scripting Reference
Method

applyLensBlur

([source]
[, focalDistance]
[, invertDepthMap]
[, shape]
[, radius]
[, bladeCurvature]
[, rotation]
[, brightness]
[, threshold]
[, amount]
[, distribution]
[, monochromatic]
)

applyLensFlare

(brightness,
flareCenter,
lensType)
Adobe Photoshop CS3
Parameter Type
DepthMapSource
number (long)
boolean
Geometry
number (long)
number (long)
number (long)
number (long)
number (long)
number (long)
NoiseDistribution
boolean
number (long)
array(UnitValue)
LensType
JavaScript Object Reference
Returns
What it does (Continued)
Applies the Lens Blur filter.
: the source for the
source
depth map (default:
DepthMapSource.NONE
focalDistance
distance for the depth map
(default:
).
0
invertDepthMask
depth map is inverted (default:
).
false
: The shape of the iris
shape
(default:
Geometry.HEXAGON)
: The radius of the iris
radius
(default:
).
15
bladeCurvature
curvature of the iris (default:
: The rotation of the
rotation
iris (default:
brightness
the specular highlights (default:
).
0
: The threshold for
threshold
the specular highlights (default:
).
0
: The amount of noise
amount
(default:
)
0
distribution
value for the noise (default:
NoiseDistribution.UNIFORM
monochromatic
whether the noise is
monochromatic (default:
).
false
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.
Note:
For information about
the
UnitValue
the JavaScript Tools Guide
57
)
: the blur focal
: whether the
: The blade
).
0
)
0
: The brightness for
: The distribution
).
: Indicates
type, see

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop cs3

Table of Contents