
Adobe Photoshop CS3
JavaScript Scripting Reference
JavaScript Object Reference 115
GIFSaveOptions
Options that can be specified when saving a document in GIF format.
Properties
Property
Value Type
What it is
colors
number (long)
Read-write. The number of palette colors.
Note:
Valid only when
palette = Palette.LOCALADAPTIVE
;
palette = Palette.LOCALPERCEPTUAL
;
palette = Palette.LOCALSELECTIVE
;
palette = Palette.MACOSPALETTE
;
palette = Palette.UNIFORM
;
palette = Palette.WEBPALETTE
; or
palette = Palette.WINDOWSPALETTE
.
See
palette
.
dither
Dither
Read-write. The dither type.
ditherAmount
number (long)
Read-write. The amount of dither. (1 - 100;
default:
75
).
Note:
Valid only when
dither =
Dither.DIFFUSION
. See
dither
.
forced
ForcedColors
Read-write. The type of colors to force into the
color palette.
interlaced
boolean
Read-write. Indicates whether rows should be
interlaced (default:
false
).
matte
MatteType
Read-write. The color to use to fill anti-aliased
edges adjacent to transparent areas of the image
(default:
MatteType.WHITE
).
Note:
When
transparency = false
, the matte
color is applied to transparent areas. See
transparency
.
palette
Palette
Read-write. The type of palette to use (default:
Palette.LOCALSELECTIVE
).
preserveExactColors
boolean
Read-write. Indicates whether to protect colors in
the image that contain entries in the color table
from being dithered.
Note:
Valid only when
dither = Dither.DIFFUSION
. See
dither
.