mirror of
https://github.com/SrIzan10/makesweet-api.git
synced 2026-05-01 10:55:14 +00:00
give more examples: locket, flag
This commit is contained in:
47
README.md
47
README.md
@@ -1,12 +1,4 @@
|
||||
Putting pictures in animated templates.
|
||||
|
||||
Input
|
||||
-----
|
||||
|
||||

|
||||
|
||||
Running makesweet
|
||||
-----------------
|
||||
Put pictures into animations from the command line.
|
||||
|
||||
```
|
||||
docker run -v $PWD:/share paulfitz/makesweet \
|
||||
@@ -15,13 +7,32 @@ docker run -v $PWD:/share paulfitz/makesweet \
|
||||
--gif animation.gif
|
||||
```
|
||||
|
||||
Output
|
||||
------
|
||||
|
||||

|
||||

|
||||
|
||||
Video format
|
||||
------------
|
||||
```
|
||||
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:
|
||||
```
|
||||
@@ -31,3 +42,11 @@ with:
|
||||
```
|
||||
--vid animation.mp4
|
||||
```
|
||||
|
||||
See `docker run paulfitz/makesweet -h` for more options.
|
||||
|
||||
Source
|
||||
------
|
||||
|
||||
The designs come from https://makesweet.com
|
||||
|
||||
|
||||
BIN
images/dolphin.jpg
Normal file
BIN
images/dolphin.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 154 KiB |
BIN
images/monkey.jpg
Normal file
BIN
images/monkey.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 183 KiB |
BIN
templates/flag.zip
Normal file
BIN
templates/flag.zip
Normal file
Binary file not shown.
BIN
templates/heart-locket.zip
Normal file
BIN
templates/heart-locket.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user