GraphicsMagick

Categories

Component ID

1077458

Component name

GraphicsMagick

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This is a port of ImageMagick module, which allows to work with GraphicsMagick package as image toolkit for Image API in Drupal 7 core.

Requirements:

  • GraphicsMagick needs to be installed on your server and the gm binary needs to be accessible and executable from PHP.
  • The PHP configuration must allow invocation of proc_open() (which is security-wise identical to exec()).

Consult your server administrator or hosting provider if you are unsure about these requirements.

Installation and configuration

  • Install this module as usual.
  • Go to Administration » Configuration » Media » Image toolkit and change the image toolkit to GraphicsMagick.
  • If the gm binary cannot be found in the default shell path, you need to enter the full path to GraphicsMagick's gm executable, including the filename itself.

Note: If you also installed the module ImageMagick, then setting "Administration» Configuration »Media» Image toolkit" will contain a selection of GraphicsMagick, ImageMagick or GD2. So you can always switch between the GraphicsMagick and ImageMagick image toolkits.

Note: This module not requires gmagick pecl extension for php, only GraphicsMagick installed.

Why GraphicsMagick?

If you look at the chart comparing the performance of GraphicsMagick vs ImageMagick, then many questions will disappear themselves.
In addition ImageMagick has disagreeable bug - on some systems it can not work with files the path to which contain non-Latin characters.