Skip to content

Instantly share code, notes, and snippets.

@simongcc
Last active September 13, 2016 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simongcc/fcb0f6750b9c2258ae9b7020ef2945a8 to your computer and use it in GitHub Desktop.
Save simongcc/fcb0f6750b9c2258ae9b7020ef2945a8 to your computer and use it in GitHub Desktop.
@echo off
rem for Windows environment
rem after installing imageMagick in windows
rem convert interlace *.jpg to progressive *.jpg in current folder
rem for /r %%i in (*) do magick convert -interlace Plane %%i %%~na
rem for /r %%a in (*.jpg) do echo "%%~na.jpg"
for /r %%a in (*.jpg) do magick convert -interlace Plane "%%~na.jpg" "%%~na.jpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment