cc-everywhere

Class: QuickActionWorkflow

Extends

Implements

Constructors

Constructor

new QuickActionWorkflow(actionManager, context): QuickActionWorkflow;

Parameters

Parameter
Type
actionManager
ActionManager
context
SDKContext

Returns

QuickActionWorkflow

Inherited from

BaseWorkflow.constructor

Methods

convertToJPEG()

convertToJPEG(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Lower your file size by changing your PNG images into JPG files.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.convertToJPEG

convertToPNG()

convertToPNG(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Save your images as PNG files to improve file quality.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.convertToPNG

convertToSVG()

convertToSVG(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Drag and drop a JPG or PNG image file to convert to SVG.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.convertToSVG

cropImage()

cropImage(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Transform your image into the perfect shape or size in seconds.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.cropImage

resizeImage()

resizeImage(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Change the dimensions of any photo.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.resizeImage

removeBackground()

removeBackground(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Easily remove the background of your photos.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.removeBackground

generateQRCode()

generateQRCode(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Generate a QR Code for a URL.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.generateQRCode

convertToGIF()

convertToGIF(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Convert a video asset to GIF format.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.convertToGIF

convertToMP4()

convertToMP4(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Convert a video asset to MP4 format.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.convertToMP4

cropVideo()

cropVideo(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Transform your video into the perfect shape or size in seconds.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.cropVideo

mergeVideos()

mergeVideos(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Collate multiple video/photo into a single video.

Parameters

Parameter
Type
Description
docConfig?
MergeVideoDocConfig
pass an array of assets to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.mergeVideos

resizeVideo()

resizeVideo(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Change the dimensions of any video.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.resizeVideo

trimVideo()

trimVideo(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Trim a video to a desired length.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.trimVideo

animateFromAudio()

animateFromAudio(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Create an animated video from an audio.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.animateFromAudio

captionVideo()

captionVideo(
   docConfig?, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Add captions to any video.

Parameters

Parameter
Type
Description
docConfig?
DocConfig
pass an asset to preload on to the Quick Action Editor
appConfig?
AppConfig
properties to configure the Editor
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

Implementation of

QuickActionWorkflow.captionVideo