Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

ImageMagick

Security covered Under active development 40,973 sites

This module allows Drupal to use ImageMagick or GraphicsMagick for image processing by executing the command-line tools. It requires the ImageMagick or GraphicsMagick software to be installed on the server.

Allows to use ImageMagick or GraphicsMagick as image toolkit for Image API in Drupal. This integration is based on invoking the convert binary through shell access to process images. The Imagick module is an alternative toolkit module that uses the Imagick PHP extension instead.

Requirements

  • ImageMagick (or GraphicsMagick) needs to be installed on your server and the convert (or gm) binary needs to be accessible and executable from PHP.
  • If Postscript or PDF support is required, then Ghostscript must also be installed on your server.
  • 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

The module MUST be installed using Composer, see Download contributed modules and themes using Composer.

Require the module via

$ composer require drupal/imagemagick

This will download both the module release appropriate for the Drupal version in use, and any dependency.

Configuration

  • Go to Administration » Configuration » Media » Image toolkit and change the image toolkit to ImageMagick.
  • If the convert binary cannot be found in the default shell path, you need to enter the full path to ImageMagick's convert executable.
Drupal 11 · not 10

Ask your assistant about ImageMagick

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

1 tracked project depends on this one

Activity

Tracked releases
20
Tracked since
Dec 2023
Latest release
8 months ago
Releases (12 mo)
4 ▲ from 3
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
4.0.0-rc1 Pre-release 10–11 Jun 4, 2024
4.0.0-beta1 Pre-release 10–11 May 19, 2024
8.x-3.7 Stable 10 Jan 24, 2024
8.x-3.7-rc2 Pre-release 10 Jan 19, 2024
8.x-3.7-rc1 Pre-release 10 Jan 18, 2024
4.0.0-alpha2 Pre-release 10 Jan 18, 2024
4.0.0-alpha1 Pre-release 10 Dec 20, 2023
4.0.x-dev Dev 10–11 Dec 15, 2023
8.x-3.6 Stable 10 Dec 15, 2023
8.x-3.5 Stable 10 Dec 12, 2023