lottie-js
lottie-js copied to clipboard
Bug : embedded image asset not displayed
Overview
When embedding an image as data url, it is not displayed. In the spec, an image asset has a property "embedded" to declare if the image is embedded or not.
"e": { "title": "Embedded", "description": "Whether the image is embedded", "$ref": "#/$defs/helpers/int-boolean", "default": 0 }
It can be added to assets/image-asset.ts and handled by fromJSON() and toJSON() functions.
NB: In the same file, there is a typo on the id property in function toJSON(), see #19
Consuming repo
What repo were you working in when this issue occurred?
- Main repository
Labels
- [x] Add the
Type: Bug
label to this issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.