Options for saving a document in GIF format.

Static Properties

colors readonly The number of colors in palette. Not valid for all palette types.
dither readonly The type of dither.
ditherAmount readonly The amount of dither. Valid only when ‘dither type’ is diffusion. Range: 1 to 100.
forced readonly The type of colors to force into the color palette.
interlaced readonly If true, rows are interlaced.
matte readonly The color to use to fill anti-aliased edges adjacent to transparent areas of the image. Default: white.
palette readonly The type of palette to use.
preserveExactColors readonly If true, protects colors in the image that contain entries in the color table from being dithered. Valid only when ‘dither’ = diffusion.
transparency readonly If true, preserves transparent ares of the image during GIF conversion.