repo.or.cz
/
fbsplash.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/fbsplash
[fbsplash.git]
/
themes
/
makethumbs.sh
blob
9a6a2767c47b958e37502fe2a0dcde7daf86e782
1
#!/bin/bash
2
3
orig
=
1024
x768
4
new
=
300
x225
5
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