Want to install ImageMagick on Mac OS? OK then, just use Homebrew and your life will be easier.
First up install Homebrew by following these instructions: http://brew.sh
Missing Ruby? https://rvm.io/
Once you've got those two, do the following...
sudo brew install gs
sudo brew install libpng
sudo brew install imagemagick