Adobe Photoshop CS5 Object Library JS: BitsPerChannelType

Photoshop CS5

 The number of bits per color channel.

Value

NameDescriptionValue
BitsPerChannelType.EIGHT8 bits per channel. int 8
BitsPerChannelType.ONE1 bit per channel. int 1
BitsPerChannelType.SIXTEEN16 bits per channel. int 16
BitsPerChannelType.THIRTYTWO32 bits per channel. int 32

Usage

In function

Document Documents.add ([width: UnitValue][, height: UnitValue][, resolution: number=72][, name: string][, mode: NewDocumentMode=NewDocumentMode.RGB][, initialFill: DocumentFill=DocumentFill.WHITE][, pixelAspectRatio: number=1.0][, bitsPerChannel: BitsPerChannelType=BitsPerChannelType.EIGHT][, colorProfileName: string])

As property

CameraRAWOpenOptions.bitsPerChannel

Document.bitsPerChannel

PDFOpenOptions.bitsPerChannel

Jongware, 28-Aug-2012 v3.0.3iContents :: Index