Created
August 8, 2016 20:17
-
-
Save db0company/e20b25ab0928e44429321f7283424768 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
convert "$1" -flop tmp | |
convert "$1" tmp +append tmp | |
convert "$1" -flop tmp.png | |
convert "$1" tmp.png +append tmp.png | |
convert tmp.png -flip "$1" | |
convert tmp.png "$1" -append "$1" | |
rm tmp.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment