I have a bash shell script as below.
#!/bin/bash
SIZES=("512" "1024" "2048")
for i in ${!SIZES[*]}
do
SIZE=${SIZES[$i]}
ec
port install not work for me. it always return "Error: Port ImageMagick not found" if you failed installing with port, you can download pkg and install it directly from http://cactuslab.com/imagemagick/
Steps to follow
install using command$ sudo port install ImageMagick
or using Homebrew command brew install imagemagick
or download from the link http://cactuslab.com/imagemagick/
convert
is part of ImageMagick which is not installed by default on OS X.
From the download instructions on the ImageMagick site:
Install MacPorts
Install ImageMagick with
$ sudo port install ImageMagick
You can also make it with help of Homebrew - which is quite nice and popular package manager
To Install homeBrew past in your terminal
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
To install imagemagick past in the terminal
brew install imagemagick