Created
July 13, 2012 03:21
-
-
Save coyotte508/3102488 to your computer and use it in GitHub Desktop.
Removes background from RBY images
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
find . -name "*.png" -exec convert '{}' -bordercolor white -border 1x1 -fill none -draw 'matte 0,0 floodfill' -shave 1x1 '{}' \; | |
(since the images themselves contained white, a simple replace wouldn't have been good) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment