mirror of
https://github.com/SrIzan10/makesweet-api.git
synced 2026-05-01 10:55:14 +00:00
53 lines
1.4 KiB
Markdown
53 lines
1.4 KiB
Markdown
Put pictures into animations from the command line.
|
|
|
|
```
|
|
docker run -v $PWD:/share paulfitz/makesweet \
|
|
--zip templates/billboard-cityscape.zip \
|
|
--in images/frog.jpg \
|
|
--gif animation.gif
|
|
```
|
|
|
|

|
|

|
|
|
|
```
|
|
docker run -v $PWD:/share paulfitz/makesweet \
|
|
--zip templates/heart-locket.zip \
|
|
--start 15 \
|
|
--in images/frog.jpg images/monkey.jpg \
|
|
--gif animation.gif
|
|
```
|
|
|
|

|
|

|
|
|
|
```
|
|
docker run -v $PWD:/share paulfitz/makesweet \
|
|
--zip templates/flag.zip \
|
|
--in images/dolphin.jpg \
|
|
--gif animation.gif
|
|
```
|
|
|
|

|
|

|
|
|
|
Options
|
|
-------
|
|
|
|
You can generate a video output instead of a gif by replacing:
|
|
```
|
|
--gif animation.gif
|
|
```
|
|
with:
|
|
```
|
|
--vid animation.mp4
|
|
```
|
|
|
|
See `docker run paulfitz/makesweet -h` for more options.
|
|
|
|
Source
|
|
------
|
|
|
|
The designs come from https://makesweet.com
|
|
|