Skip to content

RasterizeOptions

rasterizeOptions

Specifies options that may be supplied when rasterizing artwork.

All properties are optional.


rasterizeOptions.antiAliasingMethod

The type of antialiasing method.

Default: AntiAliasingMethod.ARTOPTIMIZED

AntiAliasingMethod


rasterizeOptions.backgroundBlack

If true, the rasterization is done against a black background (instead of white).

Default: false

Boolean


rasterizeOptions.clippingMask

If true, a clipping mask should be created for the image.

Default: false

Boolean


rasterizeOptions.colorModel

The color model for the rasterization.

Default: RasterizationColorModel.DEFAULTCOLORMODEL

RasterizationColorModel


rasterizeOptions.convertSpotColors

If true, spot colors should be converted to process colors for the image.

Default: false

Boolean


rasterizeOptions.convertTextToOutlines

If true, all text is converted to outlines before rasterization.

Default: false

Boolean


rasterizeOptions.includeLayers

If true, the resulting image incorporates layer attributes (like opacity and blend mode).

Default: false

Boolean


rasterizeOptions.padding

The amount of white space (in points) to be added around the object during rasterization.

Default: .0

Number (double)


rasterizeOptions.resolution

The rasterization resolution in dots per inch (dpi).

Range: 72.0 to 2400.0.

Default: 300.0

Number (double)


rasterizeOptions.transparency

If true, the image should use transparency.

Default: false

Boolean