#!/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 "notify_lava.tga" 16 2 4 1 2)' \ -b '(whiteborder "notify_slime.tga" 16 2 4 1 2)' \ -b '(whiteborder "notify_water.tga" 16 2 4 1 2)' \ -b '(whiteborder "notify_camping.tga" 12 2 4 1 2)' \ -b '(whiteborder "notify_death.tga" 16 2 4 0 2)' \ -b '(whiteborder "notify_selfkill.tga" 16 2 4 0 2)' \ -b '(gimp-quit 0)'