Install FreeImage

  1. ImageScience from seattlerb
  • Ubuntu Install Process:
    
          curl -O http://umn.dl.sourceforge.net/sourceforge/freeimage/FreeImage3110.zip
          unzip FreeImage3110.zip
          cd FreeImage
          make
          sudo make install
          sudo gem install RubyInline
          sudo gem install image_science
       
To get it to work on a mac, you need
  • to have the os X 10.4 SDK installed, via Xcode
  • edit the Makefile.osx to remove all references to ppc arch

For Leopard on the mac, follow the instructions set out here:
From Source:
http://www.resettodefault.com/2007/11/05/imagescience_on_leopard
Using MacPorts:
http://www.pivotalblabs.com/articles/2007/11/07/installing-freeimage-imagescience-on-os-x-10-5-leopard

Also available in: HTML TXT