ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert, and write images in a variety of formats. The functionality of ImageMagick is typically utilized from the command-line or you can use the features from programs written in your favorite programming language.
Before you start, be sure to have these handy:
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
If you're having trouble with the steps in this article, additional assistance is available via Advanced Support, our premium services division. For more information on what Advanced Support can do for you, please click here.
The following is the system path to ImageMagick:
You can find out which version is installed by logging into your Grid via SSH. For information on connecting via SSH, please read: Connecting via SSH to your server. The following command will return the version available:
The output will look something like this:
Version: ImageMagick 6.2.4 09/16/06 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC
ImageMagick is installed on the Grid. However, the default settings for PHP5 will prevent it from being executed through a PHP script. To change this, the above path needs added to your open_basedir settings. If you are using a per-domain .htaccess configuration, simply add :/usr/bin/convert to the existing directive for any domain that needs to make use of it. If you would like to enable this for your entire Grid, add the following line to your php.ini file:
open_basedir = /nfs:/tmp:/usr/local:/etc/apache2/gs-bin:/usr/bin/convert