JavaScript Scripting Reference
Method
adjustCurves
(curveShape)
adjustLevels
(inputRangeStart,
inputRangeEnd,
inputRangeGamma,
outputRangeStart,
outputRangeEnd)
applyAddNoise
(amount,
distribution,
monochromatic)
applyAverage
()
applyBlur
()
applyBlurMore
()
applyClouds
()
applyCustomFilter
(characteristics,
scale,
offset)
applyDeInterlace
(eliminateFields,
createFields)
applyDespeckle
()
applyDifferenceClouds
()
applyDiffuseGlow
(graininess,
glowAmount,
clearAmount)
Adobe Photoshop CS3
Parameter Type
array of points
(Array (Array(x, y)))
number (long)
number (long)
number (double)
number (long)
number (long)
number (double)
NoiseDistribution
boolean
array of twenty-five
numbers (long)
number (long)
number (long)
EliminateFields
CreateFields
number (long)
number (long)
number (long)
JavaScript Object Reference
Returns
What it does (Continued)
Adjusts the tonal range of the
selected channel using up to
fourteen points.
Adjusts the levels of the
selected channels
(
inputRangeStart
inputRangeEnd
(
inputRangeStart
inputRangeGamma
outputRangeStart
outputRangeEnd
(
outputRangeStart
Applies the Add Noise filter
(
: 0.1 - 400, as a
amount
percentage).
Applies the Average filter.
Applies the Blur filter.
Applies the Blur More filter.
Applies the Clouds filter.
Applies a custom filter.
Note:
Required parameter
values define the filter.
Refer to Adobe
Photoshop CS3 Help for
specific instructions.
Applies the De-Interlace filter.
Applies the Despeckle filter.
Applies the Difference Clouds
filter.
Applies the Diffuse Glow filter
(
graininess
glowAmount
clearAmount
55
: 0 - 253;
:
+ 2) - 255;
: 0.10 - 9.99;
: 0 - 253;
:
+ 2) - 255.
: 0 - 10;
: 0 - 20;
: 0 - 20).