aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/lottiecap/README.md
diff options
context:
space:
mode:
authorGravatar Joe Gregorio <joe@bitworking.org>2018-03-19 14:26:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-20 13:25:23 +0000
commit0060c3394c6bdb106a12685e11d29ffd258590a5 (patch)
tree5a827c40c9723772c3802031b0c6f857be4d46fd /tools/lottiecap/README.md
parentec77963bf32eda185cb422d2166f60da094feade (diff)
[lottiecap] Moved over from buildbot repo.
Command line application to build a 5x5 filmstrip from a Lottie file in Chrome headless and then export that filmstrip in a 1000x1000 PNG. Bug: skia: Change-Id: I38decac363f2d592fddc28b3f4ca9450c5851ac6 Reviewed-on: https://skia-review.googlesource.com/115100 Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'tools/lottiecap/README.md')
-rw-r--r--tools/lottiecap/README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/lottiecap/README.md b/tools/lottiecap/README.md
new file mode 100644
index 0000000000..79ed9539c7
--- /dev/null
+++ b/tools/lottiecap/README.md
@@ -0,0 +1,29 @@
+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.