Object
ExportOptionsSaveForWeb
Options for exporting Save For Web files.
ExportOptions ›ExportOptionsSaveForWeb
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| static | Boolean = true | read/write | If true, uses 8 bits. If false, uses 24 bits. Valid only when 'format' = PNG. |
| static | Number = 0 | read/write | The amount of blur to apply to the image to reduce artifacts. |
| static | ColorReductionType = ColorReductionType.SELECTIVE | read/write | The color reduction algorithm. |
| static | Int = 256 | read/write | The number of colors in the palette. |
| static | DitherType = DitherType.DIFFUSION | read/write | The type of dither. |
| static | Int = 100 | read/write | The amount of dither. Valid only when 'dither' = diffusion. |
| static | SaveDocumentType = SaveDocumentType.COMPUSERVEGIF | read/write | The file format to use. Save For Web supports only Compuserve GIF, JPEG, PNG-8, PNG-24, and BMP formats. |
| static | Boolean = false | read/write | If true, includes the document's embedded profile. |
| static | Boolean = false | read/write | If true, the image downloads in multiple passes, progressive. |
| static | Int = 0 | read/write | The amount of lossiness allowed. |
| static | RGBColor | read/write | The colors to blend transparent pixels against. |
| static | Boolean = true | read/write | If true, creates smaller but less compatible files. |
| static | Int = 60 0–100 | read/write | The quality of the produced image (as a percentage). Range: 0 to 100. |
| static | Boolean = true | read/write | If true, transparent areas of the image are included in the saved image. |
| static | Int = 100 | read/write | The amount of transparency dither. Valid only when 'transparency' = true. |
| static | DitherType = DitherType.NONE | read/write | The transparency dither algorithm. |
| static | Int = 0 | read/write | The tolerance amount within which to snap close colors to web palette colors. |