Specifications

Table Of Contents
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 58
applyMinimum
(radius)
number [1..100]
Applies the Minimum filter
within the specified radius (in
pixels) (1 - 100).
applyMotionBlur
(angle,
radius)
number [-360..360]
number [1..999]
Applies the Motion Blur filter.
applyNTSC
()
Applies the NTSC colors filter.
applyOceanRipple
(size,
magnitude)
number [1..15]
number [0..20]
Applies the Ocean Ripple filter.
applyOffset
(horizontal,
vertical,
undefinedAreas)
UnitValue
UnitValue
OffsetUndefinedAreas
Moves the layer the specified
amount horizontally and
vertically (min/max amounts
depend on layer size), leaving
an undefined area at the layer’s
original location.
applyPinch
(amount)
number [-100..100]
Applies the Pinch filter.
amount is a percentage value.
applyPolarCoordinates
(conversion)
PolarConversionType
Applies the Polar Coordinates
filter.
applyRadialBlur
(amount,
blurMethod,
blurQuality)
number [1..100]
RadialBlurMethod
RadialBlurQuality
Applies the Radial Blur filter in
the specified amount, using
either a spin or zoom effect and
the specified quality.
applyRipple
(amount,
size)
number [-999..999]
RippleSize
Applies the Ripple filter in the
specified amount, throughout
the image and in the specified
size.
applySharpen
()
Applies the Sharpen filter.
applySharpenEdges
()
Applies the Sharpen Edges filter.
applySharpenMore
()
Applies the Sharpen More filter.
applyShear
(curve,
undefinedAreas)
array of array of number
UndefinedAreas
Applies the Shear filter. The
curve defines a curve with
[2..255] points.
Each value in the
curve array is a
point pair, an array of an x and y
integer value.
Method Parameter type Returns What it does (Continued)