Converting images via terminal
Every now and then while working on an app or simply automating some recurrent dev tasks I ran into ImageMagick which you can get installed via brew install convert . The tool is incredibly powerful and as all Unix command-line tools have more switches and order of using those switches and gibberish sequence of characters than a pack of cats times their lives and power of their cousins' lives. So this post is for the occasional desperate moment that I figured how to do something very simple and specific for which I have the guarantee that next time that I want to do the same or very similar thing I won't remember how I did it before. Once you installed you can call convert followed by arguments. Chances are that before you actually convert anything you need to re-organize or find your files that will be subject to the conversions. Let's document that part first. There are millions of ways to that, the below is what worked for me. If you have all images in multip