aosp12/external/skia/tools/lottiecap
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
.gitignore init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
driver.html init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
lottiecap.js init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
package.json init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.md

Capture Lottie Filmstrip in the Browser

Command line application to build a 5x5 filmstrip from a Lottie file in the browser and then export that filmstrip in a 1000x1000 PNG.

First run

$ npm install

Then run

$ node ./lottiecap.js --input some_lottie_file.js

To get more help:

$ node ./lottiecap.js -h

Requirements

You need to have a recent version of 'node' installed, i.e. version v8.9 or later. Get recent versions of Node from:

https://nodejs.org/en/download/

It is doubtful that your workstation's distribution has a recent version of Node available.