コマンドラインで HEIC を JPEG などに変換

バッチファイルは忘れたのでWSLに逃げました(Ubuntuです)。こちらを参考にしました。

uep@robby:~$ sudo apt install libheif-examples
uep@robby:~$ cd /mnt/c/Users/YOUR_DESTINATION_DIRECTORY/
uep@robby::/mnt/c/Users//YOUR_DESTINATION_DIRECTORY$ for files in *.heic; do echo $files; done
uep@robby::/mnt/c/Users//YOUR_DESTINATION_DIRECTORY$ for files in *.heic; do heif-convert $files "${files%.heic}.jpg"; done

投稿日:
カテゴリー: Linux タグ:

コメントする

メールアドレスが公開されることはありません。 が付いている欄は必須項目です