Created
March 3, 2016 18:38
-
-
Save ericoporto/5cbb1e02452a70f167ca to your computer and use it in GitHub Desktop.
Just so I can remember how I batch cropped a lot of 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
@echo off | |
for %%f in (*.png) do ( | |
echo %%~nf | |
convert.exe "%%~nf.png" -gravity center -crop 2592x1458+0-84 +repage "..\out3\%%~nf.png" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment