Last active
December 29, 2015 01:59
-
-
Save maaaks/7597163 to your computer and use it in GitHub Desktop.
Recolor icons to given color using ImageMagick and Potrace. Works perfect with icons from icons8.com.
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
#!/bin/sh | |
for file in `ls` | |
do | |
convert $file pnm:- | potrace --backend svg --color "#$1" | convert - $file | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment