imagemagick rocks, here's why

· ahwx's blog


imagemagick rocks, here's why #

foss ftw :)

introduction #

so today i overheard some complaining about HEIC files not being able to be opened by photoshop on windows, so i got over there, downloaded the imagemagick portable version, copied the files over and gotten it to work with just one command. learn basic terminal usage everyone...

how does it work? #

imagemagick is a program you can use to, well, do magic with images.

step 1 #

go to the official website: imagemagick.org, and download the portable script if running windows (for gentoo, just emerge imagemagick and for other distro's, use your package manager as that should work). and last, unzip the folder to a new folder, name doesn't matter

step 2 #

copy all your images into a folder in the imagemagick folder, such as folder:

1imagemagick (folder)
2-convert.exe (file in imagemagick folder)
3-etc
4-etc
5---pictures (folder in imagemagick folder)
6----1.HEIC (file in 'pictures' folder in imagemagick folder)
7----2.HEIC
8----3.HEIC

step 3 #

open a powershell window, and use the ls and cd commands to move around. ie:

1PS C:\Users\usegentoo> ls
2PS C:\Users\usegentoo> cd Downloads
3PS C:\Users\usegentoo> cd imagemagick-version-portable-x64-idk-their-naming-or-yours
4PS C:\Users\usegentoo> .\convert.exe pictures\*.HEIC pictures\*.JPEG

the convert command does take some time, so you should just let it go for a few minutes. on a ryzen 7 5800x it took about 2 min for 50 pictures ranging from 5-50mb.

step 4 #

use this for more than only heic pictures :D

step 5 #

enjoy!