
Adobe Photoshop CS3
JavaScript Scripting Reference
JavaScript Object Reference 56
applyDisplace
(horizontalScale,
verticalScale,
displacement,
undefinedareas,
displacementMapFiles)
number (long)
number (long)
DisplacementMapType
UndefinedAreas
File
Applies the Displace filter using
the specified horizontal and
vertical scale (-999 - 999),
mapping type, treatment of
undistorted areas, and path to
the distortion image map.
applyDustAndScratches
(radius,
threshold)
number (long)
number (long)
Applies the Dust & Scratches
filter (
radius
: 1 - 100;
threshold
: 0 - 255).
applyGaussianBlur
(radius)
number (double)
Applies the Gaussian Blur filter
within the specified radius (in
pixels) (0.1 - 250.0).
applyGlassEffect
(distortion,
smoothness,
scaling
[, invert]
[, texture]
[, textureFile])
number (long)
number (long)
number (long)
boolean
TextureType
File
Applies the Glass filter
(
distortion
: 0 - 20;
smoothness
: 1 - 15;
scaling
(in
percent): 50 - 200).
Note:
For information about
the
File
object, see the
JavaScript Tools Guide
applyHighPass
(radius)
number (double)
Applies the High Pass filter
within the specified radius (in
pixels) (0.1 - 250.0).
Method
Parameter Type
Returns
What it does (Continued)