Skip to content

Instantly share code, notes, and snippets.

@Venipa
Last active July 17, 2022 04:01
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 Venipa/271d3239b199bcc5b7b395e30c1a8bb6 to your computer and use it in GitHub Desktop.
Save Venipa/271d3239b199bcc5b7b395e30c1a8bb6 to your computer and use it in GitHub Desktop.
Shell-x convert images to jpeg
@echo off
for %%x in (%*) do (
echo converting %%~nxx to %%~nx.jpg
magick "%%~x" "%%~dpx\%%~nx.jpg"
)
@echo on
if %errorlevel% neq 0 pause
@Venipa
Copy link
Author

Venipa commented Jul 17, 2022

explorer_2022-07-17_05-52-30

Requirements:

  • Imagemagick: choco install imagemagick
  • Shell-x: choco install shell-x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment