Skip to content

omar2205/imgs-lottie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate Lottie JSON file

This script generates a Lottie JSON file from image sequences.

Frames: Number of frames, Size: Animation size (Format ex: 720x360)

Output: JSON output location

Install

You need Python3

  1. Clone this repo or Code > DownloadZIP
  2. Run pip install -r requirement.txt

Usage

2 ways to run, GUI and CLI.

GUI

python3 main.py

CLI

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

About

Generate Lottie JSON file from image sequences.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages