skia2/tools/lottiecap
Kevin Lubick 085e8ea15b [LottieWeb] Fix frames
goToAndStop() apparently just counts from frame 0 to frame n, so no
need to do complicated in/out stuff.

Bug: skia:
Change-Id: Ia9c9e2b29377ea0f41fee72a6f0677e236ebcedc
Reviewed-on: https://skia-review.googlesource.com/150360
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-08-29 17:58:42 +00:00
..
.gitignore
driver.html [LottieWeb] Fix frames 2018-08-29 17:58:42 +00:00
lottiecap.js
package.json
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.