Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 830 Bytes

README.dockerhub.md

File metadata and controls

22 lines (18 loc) · 830 Bytes

Lottie Animations (.json) and Telegram Stickers (*.tgs) to FORMAT converter

Replace with directory with Lottie animations / Telegram stickers and run:

docker run --rm -v <path to directory>:/source edasriyan/lottie-to-format

You can provide parameters via env variables:

  • HEIGHT: Output image height. Default: 512
  • WIDTH: Output image width. Default: 512
  • FPS: Output frame rate. Default: apng,png,webp,webm - 60; gif - 50
  • QUALITY: Output quality. Default: 90
  • THREADS: Number of threads to use. Default: number of CPUs

Example:

docker run --rm -e HEIGHT=256 -e WIDTH=256 -e FPS=30 -v /home/ed/Downloads/lottie-animations:/source edasriyan/lottie-to-format

Results will be saved next to each source file in the same directory.

Source

https://github.com/ed-asriyan/lottie-converter