Created
July 19, 2017 18:07
-
-
Save justinmeiners/37f4d7309726a8442b0cd55ac9116d47 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 lena.tiff test0.jpg | |
b=4 | |
for i in `seq 1 360`; do | |
x=$(($i-1)) | |
if [ $(($i%2)) -eq 0 ]; | |
then | |
b=$((4)) | |
else | |
b=$((-4)) | |
fi | |
convert test${x}.jpg -rotate 1 -quality 90 test${i}.jpg | |
rm test${x}.jpg | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment