diff options
Diffstat (limited to 'game/gfx/square/.tools')
-rwxr-xr-x | game/gfx/square/.tools/mk.sh | 10 | ||||
-rwxr-xr-x | game/gfx/square/.tools/rz.sh | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/game/gfx/square/.tools/mk.sh b/game/gfx/square/.tools/mk.sh new file mode 100755 index 0000000..3110913 --- /dev/null +++ b/game/gfx/square/.tools/mk.sh @@ -0,0 +1,10 @@ +# This script applies a PNG mask to all files. +# Mask must be on the folder above. +dir=`pwd` + +FILES=`ls|grep png` +for file in $FILES; do + echo "AlphaMask $file" + convert $file ../mask.png -alpha off -compose CopyOpacity -composite $file +done + diff --git a/game/gfx/square/.tools/rz.sh b/game/gfx/square/.tools/rz.sh new file mode 100755 index 0000000..fa43e98 --- /dev/null +++ b/game/gfx/square/.tools/rz.sh @@ -0,0 +1,8 @@ +# Resizer, DO NOT USE +dir=`pwd` + +FILES=`ls|grep png` +for file in $FILES; do + convert $file -resize 340x340 $file +done + |