Last active
October 31, 2023 00:23
-
-
Save MichalPt/a96c2389ddbdd2ba94e4df99febd87fb to your computer and use it in GitHub Desktop.
Short batch script to convert .heic images to .jpg using ImageMagick. Place this script to "shell:sendto" to be able to convert selected images using "right-click>Send to" in Windows
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 %%a in (%*) do ( | |
echo %%a | |
echo %%~na %%~xa | |
if "%%~xa"==".heic" magick convert %%a %%~na.jpg | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment