Specifications

Table Of Contents
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 61
mixChannels
(outputChannels
[, monochrome])
array of array of number
boolean
Modifies a targeted (output)
color channel using a mix of the
existing color channels in the
image.
The
outputChannels
parameter is an array of channel
specifications. For each
component channel, specify a
list of adjustment values in the
range [-200..200] followed by a
'constant' value [-200..200].)
When
monochrome = true, the
maximum number of channel
value specifications is 1.
Valid only when
docRef.mode =
DocumentMode.RGB
or CMYK.
RGB arrays must include four
values. CMYK arrays must
include five values.
move
(relativeObject,
insertionLocation)
ArtLayer
or LayerSet
ElementPlacement
Moves the layer relative to the
object specified in parameters.
For art layers, only the constant
values
ElementPlacement.
PLACEBEFORE
and PLACEAFTER
are valid.
For layer sets, only the constant
values
ElementPlacement.
PLACEBEFORE
and INSIDE are
valid.
photoFilter
([fillColor]
[, density]
[, preserveLuminosity])
SolidColor
number [1..100]
boolean
Adjust the layers color balance
and temperature as if a color
filter had been applied.
density is a percentage value.
posterize
(levels)
number [2..225]
Specifies the number of tonal
levels for each channel and then
maps pixels to the closest
matching level.
rasterize
(target)
RasterizeType
Converts the targeted contents
in the layer into a flat, raster
image.
remove
()
Deletes the object.
Method Parameter type Returns What it does (Continued)