diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-09 13:32:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-09 13:32:01 -0300 |
commit | 63afe4145f410a844c647d4e3f1059f568175c1e (patch) | |
tree | 15da6a890c78d73370f44f9fd5d59badfbbe60e4 /game/gfx/square/.tools/mk.sh | |
download | client-init.tar.gz client-init.tar.bz2 client-init.tar.xz client-init.zip |
Initial commit, forked from Spheresinit
Diffstat (limited to 'game/gfx/square/.tools/mk.sh')
-rwxr-xr-x | game/gfx/square/.tools/mk.sh | 10 |
1 files changed, 10 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 + |