ExportOptionsGIF

Options which may be supplied when exporting a document as a GIF file.

Constants/Events

Name

Type

Access

Description

antiAliasing

Boolean

readonly

Should the resulting image be antialiased.

artBoardClipping

Boolean

readonly

Should the resulting image be clipped to the artboard.

colorCount

Int32 (range 2 - 256)

readonly

Number of colors in exported color table.

colorDither

ColorDitherMethod

ColorDitherMethod.DIFFUSION

ColorDitherMethod.NOISE

ColorDitherMethod.NOREDUCTION

ColorDitherMethod.PATTERNDITHER

readonly

Method used to dither colors.

colorReduction

ColorReductionMethod

ColorReductionMethod.ADAPTIVE

ColorReductionMethod.PERCEPTUAL

ColorReductionMethod.SELECTIVE

ColorReductionMethod.WEB

readonly

Method used to reduce the number of colors.

ditherPercent

Int32 (range 0 - 100)

readonly

How much should the colors be dithered.

horizontalScale

Number

readonly

Horizontal scaling factor.

infoLossPercent

Int32 (range 0 - 100)

readonly

Level of information loss during compression.

interlaced

Boolean

readonly

Should the resulting image be interlaced.

matte

Boolean

readonly

Should the artboard be matted with a color.

matteColor

RGBColor

readonly

The color to use when matting the artboard (default: white)

saveAsHTML

Boolean

readonly

Should the resulting image be saved as HTML.

transparency

Boolean

readonly

Should the resulting image use transparency.

verticalScale

Number

readonly

Vertical scaling factor.

webSnap

Int32 (range 0 - 100)

readonly

How much should the color table be changed to match the web pallet.