]> de.git.xonotic.org Git - xonotic/mediasource.git/blob - gfx/hud/wickedhud/icons_healtharmor/whiteborder.sh
Merge remote branch 'refs/remotes/origin/diabolik/nexmodel'
[xonotic/mediasource.git] / gfx / hud / wickedhud / icons_healtharmor / whiteborder.sh
1 #!/bin/bash
2 #Requires Gimp and ~/.gimp*/scripts/whiteborder.scm
3 #Adds a white border and a faint glow to the specified images, based on their alpha channel.
4 #WARNING: Overwrites existing image files.
5
6 gimp -d -f -i \
7 -b '(whiteborder "armor.png" 16 3 4 1 3)' \
8 -b '(whiteborder "health.png" 16 3 4 1 3)' \
9 -b '(gimp-quit 0)'