]> de.git.xonotic.org Git - xonotic/mediasource.git/blob - gfx/hud/wickedhud/icons_flag/whiteborder.sh
4131725cb2f92bc6cfc9e7f0af98d841851685f6
[xonotic/mediasource.git] / gfx / hud / wickedhud / icons_flag / 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 "flag_blue_carrying.tga" 16 2 4 1 3)' \
8 -b '(whiteborder "flag_blue_lost.tga" 16 2 4 1 3)' \
9 -b '(whiteborder "flag_blue_taken.tga" 16 2 4 1 3)' \
10 -b '(whiteborder "flag_red_carrying.tga" 16 2 4 1 3)' \
11 -b '(whiteborder "flag_red_lost.tga" 16 2 4 1 3)' \
12 -b '(whiteborder "flag_red_taken.tga" 16 2 4 1 3)' \
13 -b '(gimp-quit 0)'