new ExtractAction()

Description

Extracts an image or a page using an index, a range, or a name from a layered media asset.

Details

Visit Actions.Extract for examples

Methods


getActionTag() → {string}

Description

Returns the custom name tag that was given to this action

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

byNumber( from )

Description

Extract an image containing only specified layer of an asset

Parameters
Name Type Description
from string | number

The layer number

Details

addQualifier( qualifier ) → {this}

Description

Adds the parameter to the action.

Parameters
Name Type Description
qualifier SDK.Qualifier
Returns

byRange( from, to )

Description

Extract an image containing only specified range of layers of an asset

Parameters
Name Type Description
from string | number

The layer number

to string | number

The layer number

Details

addFlag( flag ) → {this}

Description

Adds a flag to the current action.

Parameters
Name Type Description
flag Qualifiers.Flag
Returns
Details