Methods
-
numOfColors( num ) → {this}
-
Description
The number of colors. (Range: 2 to 30, Server default: 10)
Parameters
Name Type Description num
number | string Returns
Details
-
getActionTag() → {string}
-
Description
Returns the custom name tag that was given to this action
Returns
Details
-
detailsLevel( num ) → {this}
-
Description
The level of detail. Specify either a percentage of the original image (Range: 0.0 to 1.0) or an absolute number of pixels (Range: 0 to 1000). (Server default: 300)
Parameters
Name Type Description num
number | string Returns
Details
-
setActionTag() → {this}
-
Description
Sets the custom name tag for this action
Returns
Details
-
despeckleLevel( num ) → {this}
-
Description
The size of speckles to suppress. Specify either a percentage of the original image (Range: 0.0 to 1.0) or an absolute number of pixels (Range: 0 to 100, Server default: 2)
Parameters
Name Type Description num
number | string Returns
Details
-
toString() → {string}
-
Description
Calls toString() on all child qualifiers (implicitly by using .join()).
Returns
Details
-
cornersLevel( num ) → {this}
-
Description
The corner threshold. Specify 100 for no smoothing (polygon corners), 0 for completely smooth corners. (Range: 0 to 100, Default: 25)
Parameters
Name Type Description num
number | string Returns
Details
-
addQualifier( qualifier ) → {this}
-
Description
Adds the parameter to the action.
Parameters
Name Type Description qualifier
SDK.Qualifier Returns
Details
-
paths( num ) → {this}
-
Description
The optimization value. Specify 100 for least optimization and the largest file. (Range: 0 to 100, Server default: 100).
Parameters
Name Type Description num
number Returns
Details
-
addFlag( flag ) → {this}
-
Description
Adds a flag to the current action.
Parameters
Name Type Description flag
Qualifiers.Flag Returns
Details