ImageMagick 설치 (gd 와 비슷하지만 더 기능이 좋은 그래픽 라이브러리엔진)
1. JPEG Library 다운 - http://www.ijg.org/
바로 다운로드 http://www.ijg.org/files/jpegsrc.v8.tar.gz
cd jpeg-8
./configure -enable-shared
make
make install
마지막의 make install 은 관리자 권한으로 하여야 하며, 설치가 되면 테스트를 해보자.
뭐라뭐라 실행되면서 도움말이 뜨나?? 그럼 제대로 설치가 됐으니 다음으로...
2. PNG Library 다운 - http://www.libpng.org/pub/png/libpng.html
바로 다운로드 ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.4.0.tar.gz
cd libpng-1.4.0
./configure
make
make install
설치가 끝났으면 파일이 제대로 있나 확인해보자.
3. TIFF Library 다운 - http://www.libtiff.org/
바로 다운로드 - http://dl.maptools.org/dl/libtiff/index.php?file=tiff-3.8.2.tar.gz&ACTION=SUBMIT
cd tiff-3.8.2
./configure
make
make install
설치가 끝났으면 다음 명령어를 내려보자
뭔가가 영어로 뜬다면 정상이다...
4. ImageMagick 다운 - http://www.imagemagick.org/script/index.php
바로 다운로드 - ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
cd ImageMagick-6.5.9-0
./configure --prefix=/usr/local/ImageMagick --with-quantum-depth=32 --with-jpeg=yes --with-png=yes --with-tiff=yes --with-zlib=yes --with-xml=yes --without-perl
make
make install
configure 의 옵션중 --with-quantum-depth=32 는 본인의 서버 사양이 좋지 않은 이상 웬만하면 생략하자. (CPU가 1개면서 메모리 4기가 이하)
5. 설치가 끝났다면 이제 ImageMagick 최종 테스트!
/usr/local/ImagicMagick/bin/convert -list format






댓글을 달아 주세요