Created
August 4, 2016 13:34
-
-
Save lolgear/80ca5a1935cf377da53b2b6587b4b62a to your computer and use it in GitHub Desktop.
This file contains 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
ls ./AppIcon.appiconset/*.png | perl -MFile::Basename -ne 'chomp; ($b, $d, $f) = fileparse($_, qr/\.[^.]*/); $s = qx(convert -channel G -separate ${_} ./AppIconPublicBeta.appiconset/${b}.png); print "$s"; print "\n";' | |
http://www.imagemagick.org/Usage/color_basics/#separate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment