]> de.git.xonotic.org Git - xonotic/mediasource.git/blob - gfx/hud/wickedhud/whiteborder.sh
515b6dfe19b4b14bf679a007e079abc5cf884a9a
[xonotic/mediasource.git] / gfx / hud / wickedhud / 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 "ammo_bullets.png" 16 2 4 1 3)' \
8 -b '(whiteborder "ammo_cells.png" 16 2 4 1 3)' \
9 -b '(whiteborder "ammo_fuel.png" 16 2 4 1 3)' \
10 -b '(whiteborder "ammo_rocket.png" 16 2 4 1 3)' \
11 -b '(whiteborder "ammo_shells.png" 16 2 4 1 3)' \
12 -b '(whiteborder "armor.png" 16 3 4 1 3)' \
13 -b '(whiteborder "health.png" 16 3 4 1 3)' \
14 -b '(whiteborder "weaponcampingrifle.tga" 16 2 4 1 3)' \
15 -b '(whiteborder "weaponcrylink.tga" 16 2 4 1 3)' \
16 -b '(whiteborder "weaponelectro.tga" 16 2 4 1 3)' \
17 -b '(whiteborder "weaponfireball.tga" 16 2 4 1 3)' \
18 -b '(whiteborder "weapongrenadelauncher.tga" 16 2 4 1 3)' \
19 -b '(whiteborder "weaponhagar.tga" 16 2 4 1 3)' \
20 -b '(whiteborder "weapon_hlacmod_renameit.tga" 16 2 4 1 3)' \
21 -b '(whiteborder "weaponhlac.tga" 16 2 4 1 3)' \
22 -b '(whiteborder "weaponhook.tga" 16 2 4 1 3)' \
23 -b '(whiteborder "weaponlaser.tga" 16 2 4 1 3)' \
24 -b '(whiteborder "weaponminstanex.tga" 16 2 4 1 3)' \
25 -b '(whiteborder "weaponnex.tga" 16 2 4 1 3)' \
26 -b '(whiteborder "weaponporto.tga" 16 2 4 1 3)' \
27 -b '(whiteborder "weaponrocketlauncher.tga" 16 2 4 1 3)' \
28 -b '(whiteborder "weaponseeker.tga" 16 2 4 1 3)' \
29 -b '(whiteborder "weaponshotgun.tga" 16 2 4 1 3)' \
30 -b '(whiteborder "weapontuba.tga" 16 2 4 1 3)' \
31 -b '(whiteborder "weaponuzi.tga" 16 2 4 1 3)' \
32 -b '(gimp-quit 0)'