-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update description on DockerHub on release
- Loading branch information
1 parent
c8d004b
commit 0ed16ff
Showing
2 changed files
with
60 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# 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 <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 - 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 |