summaryrefslogtreecommitdiff
path: root/game/gfx/square/.tools/mk.sh
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-09 13:32:01 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-09 13:32:01 -0300
commit63afe4145f410a844c647d4e3f1059f568175c1e (patch)
tree15da6a890c78d73370f44f9fd5d59badfbbe60e4 /game/gfx/square/.tools/mk.sh
downloadclient-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-xgame/gfx/square/.tools/mk.sh10
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
+