source:
2013/24/AamosR/asteroid/alpha_only.sh
@
4075
Revision 4075, 237 bytes checked in by juiitamm, 8 years ago (diff) |
---|
Line | |
---|---|
1 | #!/bin/bash |
2 | #Gets only the alpha channel. |
3 | #Arguments: input file, output file. |
4 | |
5 | #thanks to |
6 | #http://www.wizards-toolkit.org/discourse-server/viewtopic.php?f=1&t=10155&start=0#p32071 |
7 | |
8 | convert $1 -channel matte -negate -separate +matte $2 |
Note: See TracBrowser
for help on using the repository browser.