Class
Options for exporting Save For Web files. Base Class: ExportOptions
ExportOptionsSaveForWeb
Class
Property | Type | Access | Description |
---|---|---|---|
PNG8 | bool | r/w | If true, uses 8 bits. If false, uses 24 bits. Valid only when 'format' = PNG. (default: true) |
blur | number | r/w | The amount of blur to apply to the image to reduce artifacts. (default: 0) |
colorReduction | ColorReductionType: ColorReductionType.PERCEPTUAL ColorReductionType.SELECTIVE ColorReductionType.ADAPTIVE ColorReductionType.RESTRICTIVE ColorReductionType.CUSTOM ColorReductionType.BLACKWHITE ColorReductionType.GRAYSCALE ColorReductionType.MACINTOSH ColorReductionType.WINDOWS |
r/w | The color reduction algorithm. (default: ColorReductionType.SELECTIVE) |
colors | int | r/w | The number of colors in the palette. (default: 256) |
dither | Dither: Dither.NONE Dither.DIFFUSION Dither.PATTERN Dither.NOISE |
r/w | The type of dither. (default: Dither.DIFFUSION) |
ditherAmount | int | r/w | The amount of dither. Valid only when 'dither' = diffusion. (default: 100) |
format | SaveDocumentType: SaveDocumentType.PHOTOSHOP SaveDocumentType.BMP SaveDocumentType.COMPUSERVEGIF SaveDocumentType.PHOTOSHOPEPS SaveDocumentType.JPEG SaveDocumentType.PCX SaveDocumentType.PHOTOSHOPPDF SaveDocumentType.PICTFileFORMAT SaveDocumentType.PICTRESOURCEFORMAT SaveDocumentType.PIXAR SaveDocumentType.PNG SaveDocumentType.RAW SaveDocumentType.SCITEXCT SaveDocumentType.TARGA SaveDocumentType.TIFF SaveDocumentType.PHOTOSHOPDCS_1 SaveDocumentType.PHOTOSHOPDCS_2 SaveDocumentType.ALIASPIX SaveDocumentType.ELECTRICIMAGE SaveDocumentType.PORTABLEBITMAP SaveDocumentType.WAVEFRONTRLA SaveDocumentType.SGIRGB SaveDocumentType.SOFTIMAGE SaveDocumentType.WIRELESSBITMAP |
r/w | The file format to use. Save For Web supports only Compuserve GIF, JPEG, PNG-8, PNG-24, and BMP formats. (default: SaveDocumentType.COMPUSERVEGIF) |
includeProfile | bool | r/w | If true, includes the document's embedded profile. (default: false) |
interlaced | bool | r/w | If true, the image downloads in multiple passes, progressive. (default: false) |
lossy | int | r/w | The amount of lossiness allowed. (default: 0) |
matteColor | RGBColor | r/w | The colors to blend transparent pixels against. |
optimized | bool | r/w | If true, creates smaller but less compatible files. (default: true) |
quality | int | r/w | The quality of the produced image (as a percentage). Range: 0 to 100. (default: 60) |
transparency | bool | r/w | If true, transparent areas of the image are included in the saved image. (default: true) |
transparencyAmount | int | r/w | The amount of transparency dither. Valid only when 'transparency' = true. (default: 100) |
transparencyDither | Dither: Dither.NONE Dither.DIFFUSION Dither.PATTERN Dither.NOISE |
r/w | The transparency dither algorithm. (default: Dither.NONE) |
webSnap | int | r/w | The tolerance amount within which to snap close colors to web palette colors. (default: 0) |
Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |