提交 03d9554e 编写于 作者: K Kyle Beal

switched off alpha before colorizing temporary gifs when making animated...

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
上级 9be1e35c
...@@ -30,7 +30,7 @@ src=$1 ...@@ -30,7 +30,7 @@ src=$1
dst=$2 dst=$2
for p in 20 40 60 80 100 for p in 20 40 60 80 100
do 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 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 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册