DuAEF.Krita

Krita interchange tools

Members

static blendingModes :Object

Associative array that converts Krita blending mode names to After Effects BlendingMode enum.
Example
DuAEF.Krita.blendingModes["Color"]
//returns BlendingMode.NORMAL

Methods

static importCSV(file) → {int}

Imports a Krita CSV file with all layers and animation
Parameters:
Name Type Description
file File The .csv file
Returns:
int - Error code: -2: invalid file or data,
-1: no duration (frameCount is 0),
0: no layer to import in the file,
1: ok

static loadCSV(file) → {Krita|null}

Loads a Krita project from a CSV file
Parameters:
Name Type Description
file File The .csv file
Returns:
Krita | null - The Krita project or null if the file could not be parsed or opened