added a script to make semi transparent backgrounds
This commit is contained in:
parent
eed4fa4ebd
commit
aedbdd8662
1 changed files with 7 additions and 0 deletions
7
tasks/make-semi-transparent-background.sh
Executable file
7
tasks/make-semi-transparent-background.sh
Executable 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
|
Loading…
Reference in a new issue