This script generates a Lottie JSON file from image sequences.
Frames: Number of frames, Size: Animation size (Format ex: 720x360)
Output: JSON output location
You need Python3
- Clone this repo or Code > DownloadZIP
- Run
pip install -r requirement.txt
2 ways to run, GUI and CLI.
python3 main.py
gen_json.py
Required args:
-s size of animation (ex: 360x360)
-d image sequences location + pattern (ex: "./render/*.png")
Optional args:
-f Number of frames
-o JSON file output location
-n JSON file name