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.
- 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.
Branches and installation
Versions 7.x (for Drupal 7):
Install as usual, see installing contributed modules for further information.
Versions 8.x (for Drupal 8 and above):
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'sconvert
executable.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Module categories: Media
- 35,746 sites report using this module
- Created by arava_phani on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 4.0.x-dev updated 2 Mar 2024 at 10:24 UTC
Development version: 8.x-3.x-dev updated 19 Jan 2024 at 13:18 UTC
Development version: 7.x-1.x-dev updated 4 Dec 2011 at 20:04 UTC