ExportForScreensOptionsPNG8

Options which may be provided when exporting a document as an 8 bit PNG file.

Constants/Events

Name

Type

Access

Description

antiAliasing

AntiAliasingMethod

AntiAliasingMethod.ARTOPTIMIZED

AntiAliasingMethod.None

AntiAliasingMethod.TYPEOPTIMIZED

readonly

Should the resulting image be antialiased.

colorCount

Int32 (range 2 - 256)

readonly

Number of colors in exported color table.

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)

scaleType

ExportForScreensScaleType

ExportForScreensScaleType.SCALEBYFACTOR

ExportForScreensScaleType.SCALEBYHEIGHT

ExportForScreensScaleType.SCALEBYRESOLUTION

ExportForScreensScaleType.SCALEBYWIDTH

readonly

How should the resulting image be scaled.

scaleTypeValue

Number

readonly

The value by which the resulting image should be scaled.

transparency

Boolean

readonly

Should the resulting image use transparency.