6 lines
190 B
Bash
Executable file
6 lines
190 B
Bash
Executable file
#!/bin/zsh
|
|
for src in $argv; do
|
|
dest=$src:r.png
|
|
[[ $src = *.png ]] && dest=${src:r}_twitter.png
|
|
magick $src -alpha set -fill 'rgba(0,0,0,0)' -draw 'color 0,0 point' $dest || exit $?
|
|
done
|