Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Converts Lottie Animations (.json / .lottie) and Telegram stickers (*.tgs) to GIF / PNG / APNG / WEBP / WEBM
https://github.com/ed-asriyan/lottie-converter

animated-stickers apng gif gifski lottie lottie-to-apng lottie-to-gif lottie-to-webm lottie-to-webp png sticker stickers telegram tgs tgs-to-apng tgs-to-gif tgs-to-png tgs-to-webp webm webp

Last synced: about 23 hours ago
JSON representation

Converts Lottie Animations (.json / .lottie) and Telegram stickers (*.tgs) to GIF / PNG / APNG / WEBP / WEBM

Awesome Lists containing this project

README

        

# Lottie Animations (.json) and Telegram Stickers (*.tgs) to FORMAT converter
Replace with directory with Lottie animations / Telegram stickers and run:
```bash
docker run --rm -v :/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:
```bash
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