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.

Usamos cookies con el fin de personalizar para usted nuestro sitio Web y analizar el uso de éste. Usted acepta esto haciendo clic en “Acepto” o al continuar usando el sitio Web. Hay más información sobre cookies en nuestra política de privacidad.