themes: properly link themes with their archives
[fbsplash.git] / themes / makethumbs.sh
blob9a6a2767c47b958e37502fe2a0dcde7daf86e782
1 #!/bin/bash
3 orig=1024x768
4 new=300x225
6 for i in shots/${orig}*.png ; do
7 echo "$i"
8 f=${i//$orig/thumbs\/$new}
9 convert -thumbnail ${new} $i ${f//png/jpg}
10 done