Adobe Photoshop CS5 Object Library JS: GIFSaveOptions

Photoshop CS5

Class

GIFSaveOptions

 Options for saving a document in GIF format. Base Class: SaveOptions

Class

PropertyTypeAccessDescription
colorsint r/wThe number of colors in palette. Not valid for all palette types.
ditherDither:
Dither.NONE
Dither.DIFFUSION
Dither.PATTERN
Dither.NOISE
r/wThe type of dither.
ditherAmountint (range: 1 - 100) r/wThe amount of dither. Valid only when 'dither type' is diffusion. Range: 1 to 100. (default: 75)
forcedForcedColors:
ForcedColors.NONE
ForcedColors.BLACKWHITE
ForcedColors.PRIMARIES
ForcedColors.WEB
r/wThe type of colors to force into the color palette.
interlacedbool r/wIf true, rows are interlaced. (default: false)
matteMatteType:
MatteType.NONE
MatteType.FOREGROUND
MatteType.BACKGROUND
MatteType.WHITE
MatteType.BLACK
MatteType.SEMIGRAY
MatteType.NETSCAPE
r/wThe color to use to fill anti-aliased edges adjacent to transparent areas of the image. Default: white.
palettePalette:
Palette.EXACT
Palette.MACOSPALETTE
Palette.WINDOWSPALETTE
Palette.WEBPALETTE
Palette.UNIFORM
Palette.LOCALPERCEPTUAL
Palette.LOCALSELECTIVE
Palette.LOCALADAPTIVE
Palette.MASTERPERCEPTUAL
Palette.MASTERSELECTIVE
Palette.MASTERADAPTIVE
Palette.PREVIOUSPALETTE
r/wThe type of palette to use. (default: Palette.LOCALSELECTIVE)
preserveExactColorsbool r/wIf true, protects colors in the image that contain entries in the color table from being dithered. Valid only when 'dither' = diffusion.
transparencybool r/wIf true, preserves transparent ares of the image during GIF conversion.
Jongware, 28-Aug-2012 v3.0.3iContents :: Index