lottie-js icon indicating copy to clipboard operation
lottie-js copied to clipboard

Bug : embedded image asset not displayed

Open beve opened this issue 2 years ago • 1 comments

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.

beve avatar Mar 23 '22 10:03 beve

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.

github-actions[bot] avatar Jun 13 '22 02:06 github-actions[bot]