You are here

function image_imagick_check_settings in Imagick 7

Verify Imagick settings (that the right version is actually installed).

Return value

A boolean indicating if the Imagick toolkit is available on this machine.

1 call to image_imagick_check_settings()
image_imagick_settings in ./imagick.module
Retrieve settings for the Imagick toolkit.

File

./imagick.module, line 188
Imagick toolkit for image manipulation within Drupal.

Code

function image_imagick_check_settings() {
  if (extension_loaded('imagick')) {

    // Imagick support is available.
    return TRUE;
  }
  else {
    return FALSE;
  }
}