]> de.git.xonotic.org Git - xonotic/mediasource.git/blobdiff - gfx/hud/wickedhud/icons_healtharmor/whiteborder.sh
source files for wickedhud beta4 gfx
[xonotic/mediasource.git] / gfx / hud / wickedhud / icons_healtharmor / whiteborder.sh
diff --git a/gfx/hud/wickedhud/icons_healtharmor/whiteborder.sh b/gfx/hud/wickedhud/icons_healtharmor/whiteborder.sh
new file mode 100644 (file)
index 0000000..51f0cf8
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+#Requires Gimp and ~/.gimp*/scripts/whiteborder.scm
+#Adds a white border and a faint glow to the specified images, based on their alpha channel.
+#WARNING: Overwrites existing image files.
+
+gimp -d -f -i \
+-b '(whiteborder "armor.png" 16 3 4 1 3)' \
+-b '(whiteborder "health.png" 16 3 4 1 3)' \
+-b '(gimp-quit 0)'