From 03d9554e04bbe0716c323fd760f0ee0548f67f58 Mon Sep 17 00:00:00 2001 From: Kyle Beal Date: Thu, 26 Jun 2014 22:54:21 -0400 Subject: [PATCH] switched off alpha before colorizing temporary gifs when making animated balls. prevents colorize from applying fill to alpha channel. alpha is turned back on after colorize operation --- war/images/makeFlash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/war/images/makeFlash.sh b/war/images/makeFlash.sh index 643148d891..11092a6c84 100755 --- a/war/images/makeFlash.sh +++ b/war/images/makeFlash.sh @@ -30,7 +30,7 @@ src=$1 dst=$2 for p in 20 40 60 80 100 do - convert $src -fill white -colorize ${p}% -transparent-color white $t.$p.gif + convert $src -alpha off -fill white -colorize ${p}% -transparent-color white -alpha on $t.$p.gif done convert -delay 10 $src $t.20.gif $t.40.gif $t.60.gif $t.80.gif $t.100.gif $t.80.gif $t.60.gif $t.40.gif $t.20.gif -loop 0 $dst -- GitLab