如何在window上安装image science
image science是一个类似rmagick的东西,不过image science声称比rmagick好,主要原因是rmagick,有memory leak,占用很多内存,大概就是这些原因吧。
1.安装cygwin
然后安装subversion,ruby,gcc,wget应该是在cygwin上安装
wget rubygem package and install it
gem install rails -y
4.google freeimage and download source and compile it
use:
make -f Makefile.cygwin
make -f Makefile.cygwin install
5.gem install image_science -y
安装完成。
trouble shooting
maybe you need setup HOME env
and on the cygwin maybe need
chown 755
for your user home directory