added a script to make semi transparent backgrounds

This commit is contained in:
Yann Esposito (Yogsototh) 2013-01-22 14:32:07 +01:00
parent eed4fa4ebd
commit aedbdd8662

View file

@ -0,0 +1,7 @@
#!/usr/bin/env zsh
for fic in $@; do
tmp=${fic:r}-old.${fic:e}
mv $fic $tmp
convert -background 'rgba(255,255,255,0.66)' -fill white -channel Alpha -evaluate Add 0.5 -flatten $tmp $fic
\rm -f $tmp
done