Created
February 28, 2016 11:42
-
-
Save Mygod/4f8455462f013d10ee1d to your computer and use it in GitHub Desktop.
Convert all JPG to black-and-white PNG in the current directory
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 %%f in (*.jpg) do path\to\ffmpeg -i "%%~pf%%~nf.jpg" -pix_fmt monob "%%~pf%%~nf.png" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment