Created
September 15, 2016 06:39
-
-
Save accidentalrebel/1e22ac2ca0ffb57371917c6105fcedfe to your computer and use it in GitHub Desktop.
A batch file that trims all character pose image files. Uses imagemagick.
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
@echo off | |
for /r %%i in (pose\/*.png) do ( | |
echo "Adding a border %%i" | |
magick convert %%i -bordercolor none -border 50 %%i | |
echo "Trimming %%i" | |
magick convert %%i -trim +repage %%i) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment