Posted By

chrisaiv on 01/13/09


Tagged

imagemagick


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

zachwood
jamesming
heinz1959


Installing Image Magick on OSX


 / Published in: Bash
 

It seems that a lot of people are afraid of installing ImageMagick because they've either heard a ton of horror stories or aren't used to installing things that aren't pre-packaged (i.e. DMG). Well the truth is that it's pretty easy. Here's how I did it using OS X Leopard and Textmate.

  1. #Step 1: Download the ImageMagick files
  2. http://www.imagemagick.org/download/binaries/ImageMagick-universal-apple-darwin9.6.0.tar.gz
  3.  
  4. #Step 2: Unzip the files which should give you a directory like /ImageMagick-6.x.y
  5.  
  6. #Step 3: Open up the Application Terminal and type "open /usr/local/"
  7.  
  8. #Step 4: Move /ImageMagick-6.x.y into /usr/local/ (This may require you to enter a password)
  9.  
  10. #Step 5: Type "mate ~/.bash_profile" into Terminal. The application TextMate will open a blank page. If you already have an existing file with the same name, TextMate will open the file.
  11.  
  12. #Step 6: Paste this code
  13. export MAGICK_HOME="/usr/local/ImageMagick-6.4.8"
  14. export PATH="$MAGICK_HOME/bin:$PATH"
  15. export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib"
  16.  
  17. #Step 7: Quit Terminal and re-open it
  18.  
  19. #Step 8: Try these commands in Terminal to see if everything works
  20.  
  21. "convert logo: /Users/ttrojan/image_file.gif"
  22. "identify /Users/ttrojan/image_file.gif"
  23. "display /Users/ttrojan/image_file.gif"

Report this snippet  

You need to login to post a comment.