diff --git a/README.md b/README.md index 7bf878e..b643ce1 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,4 @@ -Putting pictures in animated templates. - -Input ------ - -![frog](https://user-images.githubusercontent.com/118367/39386221-9780dec0-4a41-11e8-827d-ec30fea33269.jpg) - -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 ------- - +![frog](https://user-images.githubusercontent.com/118367/39386221-9780dec0-4a41-11e8-827d-ec30fea33269.jpg) ![animation](https://user-images.githubusercontent.com/118367/39386216-8f26a80e-4a41-11e8-8ae0-0d44a5a55af1.gif) -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 +``` + +![monkey](https://user-images.githubusercontent.com/118367/44931582-21172300-ad30-11e8-9588-88426fe2671c.jpg) +![frog_monkey_friends](https://user-images.githubusercontent.com/118367/44931507-d8f80080-ad2f-11e8-8804-23cb60b99906.gif) + +``` +docker run -v $PWD:/share paulfitz/makesweet \ + --zip templates/flag.zip \ + --in images/dolphin.jpg \ + --gif animation.gif +``` + +![dolphin](https://user-images.githubusercontent.com/118367/44932065-e4e4c200-ad31-11e8-8838-ea6674c50ef5.jpg) +![dolphin_land](https://user-images.githubusercontent.com/118367/44932064-e4e4c200-ad31-11e8-994e-51f68515e505.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 + diff --git a/images/dolphin.jpg b/images/dolphin.jpg new file mode 100644 index 0000000..efccdd3 Binary files /dev/null and b/images/dolphin.jpg differ diff --git a/images/monkey.jpg b/images/monkey.jpg new file mode 100644 index 0000000..b491e14 Binary files /dev/null and b/images/monkey.jpg differ diff --git a/templates/flag.zip b/templates/flag.zip new file mode 100644 index 0000000..7a59bdd Binary files /dev/null and b/templates/flag.zip differ diff --git a/templates/heart-locket.zip b/templates/heart-locket.zip new file mode 100644 index 0000000..eaaeeaf Binary files /dev/null and b/templates/heart-locket.zip differ