Created
July 23, 2022 03:55
-
-
Save Yadunund/147553216ddf3ad9849c78e8d8aeb0ea to your computer and use it in GitHub Desktop.
Batch convert heic images to png
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
git clone https://github.com/ImageMagick/ImageMagick.git | |
cd ImageMagick/ | |
chmod +x configure | |
./configure --with-heic=yes | |
make -j10 | |
for h in *.HEIC; do | |
$HOME/imagemagic/ImageMagick/utilities/magick "$h" -quality 50% "${h%.*}".png | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment