(dv) 3.5:Install ImageMagick

  • This page was last modified on May 10, 2012, at 10:35.
The (mt) Community Wiki is a collaborative project. Any (mt) Media Temple customer or employee may contribute. Not all articles and/or content have been tested for accuracy by (mt) Media Temple.

For officially moderated and tested articles, be sure to visit our KnowledgeBase.

From (mt) Community Wiki

End of Life Warning

This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.

Contents


ImageMagick® is a software suite able to create, edit, and compose bitmap images. It can read, convert, and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear, and transform images; to adjust image colors, apply various special effects; or to draw text, lines, polygons, ellipses and Bézier curves.

- ImageMagick.org

Results

You will install ImageMagick on your (dv) Dedicated-Virtual Server 3.5.

Requirements

Instructions

  1. Log into your server via SSH with root or sudo access (replace example.com with your own domain):
    
    ssh root@example.com
    
  2. Install python-iniparse, an INI parser for the Python language:
    rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
    
  3. Use YUM to install ImageMagick. If you haven't installed YUM, see the requirements section above. This installation will likely prompt you to install several other dependencies of ImageMagick. Type "y" and then hit Enter to accept the dependencies. The installation will take a few minutes to complete.
    yum install ImageMagick
    
  4. Verify that ImageMagick is installed:
    convert -version
    

    You should see the following output, which indicates a successful installation:

    Version: ImageMagick 6.2.8 04/17/08 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
    Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC
    

    The actual command for ImageMagick is convert.

Congratulations. You now have ImageMagick installed on your (dv) server.


ImageMagick is third-party software and is not supported by (mt) Media Temple.

See these articles for information on installing the PHP extension imagick:

If you're having trouble with encrypted PDF files, see this article: