Adobe 23101764 Scripting Guide - Page 15
Object Model Classes
UPC - 718659340025
View all Adobe 23101764 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 15 highlights
. Object Model Classes Application Document Scripting basics 2 Object Model Selection Path Item Channel Art Layer Layer Set Document Info Path Point Histogram Array Text Item (Object) History State Art Layer Layer Set Selection Class The Selection class is used to specify an area of pixels in the active document (or in a selected layer of the active document) that you want to work with. For more information on selections, see Section 3.12 on page 81. Channel Class The Channel class is used to store pixel information about an image's color. Image color determines the 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 methods of a Channel object, you can create, delete and duplicate channels. You can also retrieve a channel's histogram, change its kind or change the current channel selection. For more information on channels, see Section 3.14 on page 89. Photoshop CS Scripting Guide 11