Assets
Asset
Composition Diagram for Asset
Attribute | Type | Title | Description |
---|---|---|---|
id |
string |
ID |
Unique identifier used by layers when referencing this asset |
nm |
string |
Name |
Human readable name |
Precomposition
Asset containing a composition that can be referenced by layers.
Composition Diagram for Precomposition
Attribute | Type | Title | Description |
---|---|---|---|
id |
string |
ID |
Unique identifier used by layers when referencing this asset |
nm |
string |
Name |
Human readable name |
layers |
array of Layer |
Layers |
Layers |
Image
Asset containing an image that can be referenced by layers.
Image formats supported vary depending on the player. Some commonly supported formats are JPEG, GIF, PNG and SVG.
Composition Diagram for Image
Attribute | Type | Title | Description |
---|---|---|---|
id |
string |
ID |
Unique identifier used by layers when referencing this asset |
nm |
string |
Name |
Human readable name |
w |
number |
Width |
Width of the image |
h |
number |
Height |
Height of the image |
p |
string or Data URL |
File Name |
Name of the image file or a data url |
u |
string |
File Path |
Path to the image file |
e |
0-1 integer |
Embedded |
If '1', 'p' is a Data URL |