This is a super quick tip about how to convert images quickly with ImageMagick. You might come across some web references telling you how to do this, but there are a couple of gotchas to watch out for so I thought I would write a quick post.
Firstly, install ImageMagick after downloading it here. This will also update your PATH for you (please tell it to do so when it asks).
Next, type and run these commands after running a command shell:
> cd folder-with-tifs
> mkdir out
> magick mogrify -format jpg -path out *.tif
Briefly, to explain the above, we need to create a sub-folder for the results to go into. I called mine “out” but it can be anything you like, just make sure that you reference it twice – once when creating the folder and once for the command.
You can also change what the file types from and to are – the “jpg” above is the destination type and the “tif” refers to the source.
That’s it! There of course many other things you could do such as resizing etc. but the excellent documentation can tell you more about those.
Written by Stephen Moon
email: stephen at logicalmoon.com