Recently I was converting an image to PDF using Preview under OS X and wasn’t pleased when I discovered that it converted the PNG image to PDF but it also rotated it. I began wondering if it was possible to easily convert assets to PDF using the Terminal application of OS X or my preferred terminal app, iTerm.
I discovered Image Magick which is a really cool program that provides easy and fast conversion of assets to PDF from your Terminal. This is available for OS X, Arch Linux, Ubuntu, CentOS and Red Hat. You install it using your package manager so either Homebrew, Pacman, apt-get or Yum respectively. I’ve provided the installation instructions
for all of these operating systems below:
I hope you found this post useful. If you have any comments, feedback or suggestions, feel free to contact us, Thanks!