cwsaylor (owner)

Revisions

gist: 74430 Download_button fork
public
Description:
Install ImageMagick for only manipulating image files
Public Clone URL: git://gist.github.com/74430.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Get http://www.ijg.org/files/jpegsrc.v6b.tar.gz
 
  tar zxvf jpegsrc.v6b.tar.gz
  cd jpeg-6b
  cp /usr/share/libtool/config.sub .
  cp /usr/share/libtool/config.guess .
  sudo mkdir -p /usr/local/man/man1
  ./configure --enable-shared --enable-static
  make
  sudo make install
  sudo ranlib /usr/local/lib/libjpeg.a
 
# Get the latest version or http://sourceforge.net/project/downloading.php?groupname=libpng&filename=libpng-1.2.34.tar.bz2&use_mirror=superb-east
 
  tar zxf libpng-1.2.24.tar.gz
  cd libpng-1.2.24
  ./configure
  make
  sudo make install
 
# Get ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
 
  tar zxf ImageMagick.tar.gz
  cd ImageMagick-6.3.8/
  ./configure
 
# Look for to see if it's all setup correctly
# JPEG v1 --with-jpeg=yes yes
# PNG --with-png=yes yes
 
 
  make
  sudo make install