Packagecom.adobe.photoshop
Classpublic class ColorReductionType
InheritanceColorReductionType Inheritance PhotoshopEnumBase Inheritance CSEnumBase Inheritance CSHostObject Inheritance flash.utils.Proxy

The color reduction algorithm.



Public Properties
 PropertyDefined By
  ADAPTIVE : ColorReductionType
[static] [read-only] Samples color from the spectrum appearing most commonly in the image.
ColorReductionType
  BLACKWHITE : ColorReductionType
[static] [read-only] Uses a set palette of colors.
ColorReductionType
  CUSTOM : ColorReductionType
[static] [read-only] Uses a color palette that is created or modified by the user.
ColorReductionType
  enumCache : CSEnumSharedCache
[static] [read-only]
ColorReductionType
  GRAYSCALE : ColorReductionType
[static] [read-only] Uses a set palette of colors.
ColorReductionType
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  MACINTOSH : ColorReductionType
[static] [read-only] Uses a set palette of colors.
ColorReductionType
  PERCEPTUAL : ColorReductionType
[static] [read-only] Gives priority to colors for which the human eye has greater sensitivity.
ColorReductionType
  RESTRICTIVE : ColorReductionType
[static] [read-only] Uses the standard 216-color color table common to Windows and Mac OS 8-bit (256-color or web-safe palette); ensures that no browser dither is applied when the image is displayed using 8-bit color.
ColorReductionType
  SELECTIVE : ColorReductionType
[static] [read-only] Gives priority to broad areas of color and the preservation of web colors; usually produces images with the greatest color integrity.
ColorReductionType
 Inheritedvalue : Object
[override] [read-only] Returns the object value
PhotoshopEnumBase
  WINDOWS : ColorReductionType
[static] [read-only] Uses a set palette of colors.
ColorReductionType
Public Methods
 MethodDefined By
  
ColorReductionType(ho:HostObject = null, enum:Number)
Constructor
ColorReductionType
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
getClassObjectForName(className:String):HostObject
[static] This returns a "Class" object, meaning, a HostObject that can be used to make static function calls or get static properties
CSHostObject
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):*
[static] Implements a safe get of a static property on the host Used by for instance, all the enum implementations.
CSHostObject
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
 Inherited
isDescendedFrom(clz:Class, ancClass:Class):Boolean
[static] Efficiently determines whether or not one class descends from another in inheritance hierarchy- class relationships are cached by the ClassUtils implementation- (uses org.as3commons lib to quickly discover class hierarchy.
CSHostObject
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
 Inherited
createWithArgs(args:Array):void
CSHostObject
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
ADAPTIVEproperty
ADAPTIVE:ColorReductionType  [read-only]

Samples color from the spectrum appearing most commonly in the image.


Implementation
    public static function get ADAPTIVE():ColorReductionType
BLACKWHITEproperty 
BLACKWHITE:ColorReductionType  [read-only]

Uses a set palette of colors.


Implementation
    public static function get BLACKWHITE():ColorReductionType
CUSTOMproperty 
CUSTOM:ColorReductionType  [read-only]

Uses a color palette that is created or modified by the user. If you open an existing GIF or PNG-8 file, it will have a custom color palette.


Implementation
    public static function get CUSTOM():ColorReductionType
enumCacheproperty 
enumCache:CSEnumSharedCache  [read-only]


Implementation
    public static function get enumCache():CSEnumSharedCache
GRAYSCALEproperty 
GRAYSCALE:ColorReductionType  [read-only]

Uses a set palette of colors.


Implementation
    public static function get GRAYSCALE():ColorReductionType
MACINTOSHproperty 
MACINTOSH:ColorReductionType  [read-only]

Uses a set palette of colors.


Implementation
    public static function get MACINTOSH():ColorReductionType
PERCEPTUALproperty 
PERCEPTUAL:ColorReductionType  [read-only]

Gives priority to colors for which the human eye has greater sensitivity.


Implementation
    public static function get PERCEPTUAL():ColorReductionType
RESTRICTIVEproperty 
RESTRICTIVE:ColorReductionType  [read-only]

Uses the standard 216-color color table common to Windows and Mac OS 8-bit (256-color or web-safe palette); ensures that no browser dither is applied when the image is displayed using 8-bit color.


Implementation
    public static function get RESTRICTIVE():ColorReductionType
SELECTIVEproperty 
SELECTIVE:ColorReductionType  [read-only]

Gives priority to broad areas of color and the preservation of web colors; usually produces images with the greatest color integrity.


Implementation
    public static function get SELECTIVE():ColorReductionType
WINDOWSproperty 
WINDOWS:ColorReductionType  [read-only]

Uses a set palette of colors.


Implementation
    public static function get WINDOWS():ColorReductionType
Constructor Detail
ColorReductionType()Constructor
public function ColorReductionType(ho:HostObject = null, enum:Number)

Constructor

Parameters
ho:HostObject (default = null) — Enumerations value
 
enum:Number (default = NaN)