Created
February 13, 2014 12:06
-
-
Save vicendominguez/8973950 to your computer and use it in GitHub Desktop.
Convert chroma (00ff00) background color to black to make mask images (jpg)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for a in *.jpg; do convert $a -fuzz 50% -fill black -opaque "#00ff00" -type Grayscale ../MASKS/$a;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment