]> de.git.xonotic.org Git - xonotic/mediasource.git/blob - gfx/hud/wickedhud/icons_inventory/whiteborder.sh
Merge remote branch 'refs/remotes/origin/diabolik/nexmodel'
[xonotic/mediasource.git] / gfx / hud / wickedhud / icons_inventory / 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_rockets.png" 16 2 4 1 3)' \
11 -b '(whiteborder "ammo_shells.png" 16 2 4 1 3)' \
12 -b '(gimp-quit 0)'