Layer Classes; Layer Comp Class; Channel Class; Selection Class - Adobe 23102480 - Photoshop CS3 - PC Programming Manual

Scripting guide
Table of Contents

Advertisement

Adobe Photoshop CS3 Scripting Guide
The
Application
appropriate application in order to run correctly. See
on page
20.
The
Document
you can crop, rotate or flip the canvas, resize the image or canvas, and trim the image. You could also use
the
Document
the active document or between different documents. For more information on using document objects,
see
'Creating New Objects in a Script' on page 21

Layer Classes

Photoshop has two types of layers: an
can contain zero or more art layers.
An
Art Layer
without disturbing the others. Images are typically composed of multiple layers, defined by a
You can change the composition of an image by changing the order and attributes of the layers that
comprise it.
A
Text Item
item is implemented as a property of the art layer. For more information on text items, see
Item
Text Item Object' on page
A
Layer Set
can contain other folders, a layer set is recursive. That is, one layer set may call another layer set in the
Object Model hierarchy.
For more information on layers, see

Layer Comp Class

The
Layer Comp
document.

Channel Class

The
Channel
number of channels available. An RGB image, for example, has four default channels: one for each primary
color and one for editing the entire image. You could have the red channel active in order to manipulate
just the red pixels in the image, or you could choose to manipulate all the channels at once.
These kinds of channels are related to the document mode and are called component channels. In addition
to the component channels, Photoshop lets you to create additional channels. You can create a spot color
channel, a masked area channel, and a selected area channel.
Using the commands or methods of a
can also retrieve a channel's histogram, change its kind or change the current channel selection.
For more information on channels, see

Selection Class

The
Selection
active document) that you want to work with. For more information on selections, see
Selection Objects' on page
class is the root of the Photoshop CS3 object model hierarchy. Scripts must target the
class is used to make modifications to the document image. By using the
object to get the active layer, then, save the current document, and copy and paste within
is a layer class within a document that allows you to work on one element of an image
is a particular type of art layer that allows you to add type to an image. In Photoshop, a
39.
is a class that comprises multiple layers. Think of it as a folder on your desktop. Since folders
'Working with Layer Objects' on page
class allows you to create, manage, and view multiple versions of a layout within a single
class is used to store pixel information about an image's color. Image color determines the
class is used to specify an area of pixels in the active document (or in a selected layer of the
41.
Photoshop CS3
'Targeting and Referencing the Application Object'
and
'Using the Document Object' on page
that can contain image contents and a
Art Layer
object, you can create, delete and duplicate channels. You
Channel
'Working with Channel Objects' on page
Photoshop CS3 Scripting Basics
Document
32.
Layer Set
Layer Set
'Using the
34.
45.
'Working with
11
object
that
.
Text

Advertisement

Table of Contents
loading

This manual is also suitable for:

13102498 - photoshop cs3 - macPhotoshop cs3

Table of Contents