Skip to content

RasterEffectOptions

RasterEffectOptions

Specifies raster effects settings for the document. All properties are optional.


rasterEffectOptions.antiAliasing

If true, the image should be antialiased.

Default: false

Boolean


rasterEffectOptions.clippingMask

If true, a clipping mask is created for the image.

Default: false

Boolean


rasterEffectOptions.colorModel

The color model for the rasterization.

Default: RasterizationColorModel.DEFAULTCOLORMODEL

RasterizationColorModel


rasterEffectOptions.convertSpotColors

If true, all spot colors are converted to process colors for the image.

Default: false

Boolean


rasterEffectOptions.padding

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

Default: .0

Number (double)


rasterEffectOptions.resolution

The rasterization resolution in dots per inch (dpi).

Range: 72.0 to 2400.0.

Default: 300.0

Number (double)


rasterEffectOptions.transparency

If true, the image should use transparency.

Default: false

Boolean