Skip to content

v0.2.3

Choose a tag to compare

@affromero affromero released this 15 Mar 19:02
· 18 commits to main since this release

Added

  • export command: convert Lottie JSON and dotLottie files to MP4, WebM, or GIF video
  • Frame-by-frame capture via headless Chrome (puppeteer-core) + FFmpeg encoding
  • Support for configurable resolution (480p to 4K), framerate, and background color
  • Two-pass palette generation for high-quality GIF output
  • WebM export with alpha channel transparency

Usage

kin3o export output/anim.json                        # MP4 (default: 1080p 30fps)
kin3o export output/anim.json --format gif           # GIF
kin3o export output/anim.json --format webm          # WebM (supports transparency)
kin3o export output/anim.lottie --res 720p --fps 60  # Custom resolution + framerate
kin3o export output/anim.json --bg white -o out.mp4  # Custom background + output path

Requires Chrome/Chromium and FFmpeg installed on your system.