For making your own jittergrams
Two files as input:
./jitter.sh file_01.jpg file_02.jpg
Wildcard match file_01.jpg file_02.jpg file_03.jpg
etc.:
./jitter.sh file*
#!/bin/bash | |
a=() | |
i=0 | |
for f in $*; do | |
convert -resize 480x480! $f $f.gif | |
a[$i]="$f.gif" | |
i=$i+1 | |
done | |
gifsicle --colors 256 -O3 -d20 --loop -m ${a[@]} -o $1.jitter.gif | |
for f in $*; do | |
rm $f.gif | |
done | |
echo "Jittergram: $1.jitter.gif" |