Last active
July 17, 2022 04:01
-
-
Save Venipa/271d3239b199bcc5b7b395e30c1a8bb6 to your computer and use it in GitHub Desktop.
Shell-x convert images to jpeg
This file contains hidden or 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 %%x in (%*) do ( | |
echo converting %%~nxx to %%~nx.jpg | |
magick "%%~x" "%%~dpx\%%~nx.jpg" | |
) | |
@echo on | |
if %errorlevel% neq 0 pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requirements:
choco install imagemagick
choco install shell-x