Packagecom.adobe.photoshop
Classpublic class ExportOptionsSaveForWeb
InheritanceExportOptionsSaveForWeb Inheritance ExportOptions Inheritance PhotoshopHostObject Inheritance CSHostObject Inheritance flash.utils.Proxy

Settings related to exporting Save For Web files



Public Properties
 PropertyDefined By
  blur : Number
apply blur to image to reduce artifacts ( default: 0.0 )
ExportOptionsSaveForWeb
  colorReduction : ColorReductionType
color reduction algorithm ( default: ColorReductionType.SELECTIVE )
ExportOptionsSaveForWeb
  colors : Number
number of colors in palette ( default: 256 )
ExportOptionsSaveForWeb
  dither : Dither
type of dither ( default: Dither.DIFFUSION )
ExportOptionsSaveForWeb
  ditherAmount : Number
amount of dither.
ExportOptionsSaveForWeb
  format : SaveDocumentType
File format to use.
ExportOptionsSaveForWeb
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  includeProfile : Boolean
include an ICC profile based on Photoshop color compensation ( default: false )
ExportOptionsSaveForWeb
  interlaced : Boolean
download in multiple passes, progressive ( default: false )
ExportOptionsSaveForWeb
  lossy : Number
controls amount of lossiness allowed ( default: 0 )
ExportOptionsSaveForWeb
  matteColor : RGBColor
defines colors to blend transparent pixels against
ExportOptionsSaveForWeb
  optimized : Boolean
creates smaller but less compatible files ( default: true )
ExportOptionsSaveForWeb
 Inheritedparent : *
[read-only]
PhotoshopHostObject
  PNG8 : Boolean
if the format is PNG how many bits, true = 8, false = 24 ( default: true )
ExportOptionsSaveForWeb
  quality : Number
quality of produced image ( default: 60 )
ExportOptionsSaveForWeb
  transparency : Boolean
( default: true )
ExportOptionsSaveForWeb
  transparencyAmount : Number
amount of transparency dither ( default: 100 )
ExportOptionsSaveForWeb
  transparencyDither : Dither
transparency dither algorithm ( default: Dither.NONE )
ExportOptionsSaveForWeb
  webSnap : Number
snaps close colors to web palette based on tolerance ( default: 0 )
ExportOptionsSaveForWeb
Public Methods
 MethodDefined By
 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
blurproperty
blur:Number

apply blur to image to reduce artifacts ( default: 0.0 )


Implementation
    public function get blur():Number
    public function set blur(value:Number):void
colorReductionproperty 
colorReduction:ColorReductionType

color reduction algorithm ( default: ColorReductionType.SELECTIVE )


Implementation
    public function get colorReduction():ColorReductionType
    public function set colorReduction(value:ColorReductionType):void
colorsproperty 
colors:Number

number of colors in palette ( default: 256 )


Implementation
    public function get colors():Number
    public function set colors(value:Number):void
ditherproperty 
dither:Dither

type of dither ( default: Dither.DIFFUSION )


Implementation
    public function get dither():Dither
    public function set dither(value:Dither):void
ditherAmountproperty 
ditherAmount:Number

amount of dither. Only valid for diffusion ( default: 100 )


Implementation
    public function get ditherAmount():Number
    public function set ditherAmount(value:Number):void
formatproperty 
format:SaveDocumentType

File format to use. Note: Save For Web only supports Compuserve GIF, JPEG, PNG-8, PNG-24, and BMP formats. ( default: SaveDocumentType.COMPUSERVEGIF )


Implementation
    public function get format():SaveDocumentType
    public function set format(value:SaveDocumentType):void
includeProfileproperty 
includeProfile:Boolean

include an ICC profile based on Photoshop color compensation ( default: false )


Implementation
    public function get includeProfile():Boolean
    public function set includeProfile(value:Boolean):void
interlacedproperty 
interlaced:Boolean

download in multiple passes, progressive ( default: false )


Implementation
    public function get interlaced():Boolean
    public function set interlaced(value:Boolean):void
lossyproperty 
lossy:Number

controls amount of lossiness allowed ( default: 0 )


Implementation
    public function get lossy():Number
    public function set lossy(value:Number):void
matteColorproperty 
matteColor:RGBColor

defines colors to blend transparent pixels against


Implementation
    public function get matteColor():RGBColor
    public function set matteColor(value:RGBColor):void
optimizedproperty 
optimized:Boolean

creates smaller but less compatible files ( default: true )


Implementation
    public function get optimized():Boolean
    public function set optimized(value:Boolean):void
PNG8property 
PNG8:Boolean

if the format is PNG how many bits, true = 8, false = 24 ( default: true )


Implementation
    public function get PNG8():Boolean
    public function set PNG8(value:Boolean):void
qualityproperty 
quality:Number

quality of produced image ( default: 60 )


Implementation
    public function get quality():Number
    public function set quality(value:Number):void
transparencyproperty 
transparency:Boolean

( default: true )


Implementation
    public function get transparency():Boolean
    public function set transparency(value:Boolean):void
transparencyAmountproperty 
transparencyAmount:Number

amount of transparency dither ( default: 100 )


Implementation
    public function get transparencyAmount():Number
    public function set transparencyAmount(value:Number):void
transparencyDitherproperty 
transparencyDither:Dither

transparency dither algorithm ( default: Dither.NONE )


Implementation
    public function get transparencyDither():Dither
    public function set transparencyDither(value:Dither):void
webSnapproperty 
webSnap:Number

snaps close colors to web palette based on tolerance ( default: 0 )


Implementation
    public function get webSnap():Number
    public function set webSnap(value:Number):void