Magick
Examples
Convert all images in a given folder from heic to jpg
for %i in (*.heic) do magick "%i" "%~ni.jpg"
for %%i in (*.heic) do magick "%%i" "%%~ni.jpg"
Get-ChildItem -Path . -Filter *.heic | ForEach-Object {
$jpg = $_.BaseName + ".jpg"
$_ | Copy-Item -Destination $jpg
}
for file in *.heic; do heif-convert "$file" "${file%.heic}.jpg"; done