How to use ImageMagick

This article discusses how to use ImageMagick. ImageMagick is a complete suite of command-line programs for manipulating image files.

Using ImageMagick

ImageMagick is installed on all A2 Hosting shared servers, and includes the following programs:

  • convert
  • identify
  • mogrify
  • composite
  • montage
  • compare
  • stream
  • conjure

The full path to the ImageMagick binaries is /usr/bin or /usr/local/bin, depending on your server. On some servers, however, ImageMagick is installed in both locations. To determine which version is the most recent, you can type the following commands:

/usr/bin/convert -version
/usr/local/bin/convert -version
There is also an ImageMagick PHP extension that you can use to manipulate image files within PHP. For information about how to enable PHP extensions in cPanel, please see this article.

More Information

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.