1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
PySolFC/data/themes/clearlooks/convert_imgs.sh
skomoroh 93907151a8 * improved Tile.py
* added `clearlooks' theme for tile-binding
* added dialogs for tile-binding: File Selecton and Color Chooser (for x11)
* refactoring: tile: replaced Tkinter to Tile
* refactoring: tile: removed non-used imports


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@174 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-06-15 22:01:18 +00:00

28 lines
493 B
Bash
Executable file

#!/bin/sh
from_dir=images
to_dir=clearlooks
# transpose
for t in $from_dir/sbthumb-v*.png; do
echo transpose $t
mv -f $t tmp.png
convert tmp.png -transpose $t
rm -f tmp.png
done
for t in progress scaletrough; do
echo transpose $t
convert $from_dir/$t-h.png -transpose $from_dir/$t-v.png
done
# convert to gif
for f in $from_dir/*.png; do
t=`basename $f .png`
echo convert $t
pngtopnm images/$t.png | ppmtogif -transparent==red > $to_dir/$t.gif
done