LFE/README.md

32 lines
659 B
Markdown

# LFE
Tool to extract PNG frames from Lottie animations using rlottie.
Codebase is a mess. You've been warned.
## Deps
- https://github.com/Samsung/rlottie -> Don't forget to do make install
- https://github.com/lvandeve/lodepng -> Already included here. Licensed Zlib.
## How to build
```bash
make
```
You'll need g++.
## How to use
```bash
./lfe mylottieanimation.json 420x420
```
This will extract all frames as PNG files in the working directory.
## Credit where it's due
- Most of the rlottie code is based on lottie2gif.cpp example from https://github.com/Samsung/rlottie (MIT)
- The PNG encoding related code is based on lodepng's examples