new CartoonifyEffect()

Description

Applies a cartoon effect to an image.

Details

Visit Effect for an example

Methods


lineStrength( lineStrength ) → {this}

Description

Sets the thickness of the lines.

Parameters
Name Type Description
lineStrength number

The thickness of the lines. (Range: 0 to 100, Server default: 50)

Returns

getActionTag() → {string}

Description

Returns the custom name tag that was given to this action

Returns

blackwhite() → {this}

Description

Achieves a black and white cartoon effect.

Returns

setActionTag() → {this}

Description

Sets the custom name tag for this action

Returns

toString() → {string}

Description

Calls toString() on all child qualifiers (implicitly by using .join()).

Returns
Details

colorReductionLevel( level ) → {this}

Description

Sets the decrease in the number of colors and corresponding saturation boost of the remaining colors.
Higher reduction values result in a less realistic look.

Parameters
Name Type Description
level number

The decrease in the number of colors and corresponding saturation boost of the remaining colors. (Range: 0 to 100, Server default: automatically adjusts according to the line_strength value). Set to 'bw' for a black and white cartoon effect.

Returns

addQualifier( qualifier ) → {this}

Description

Adds the parameter to the action.

Parameters
Name Type Description
qualifier SDK.Qualifier
Returns

addFlag( flag ) → {this}

Description

Adds a flag to the current action.

Parameters
Name Type Description
flag Qualifiers.Flag
Returns
Details