Index: imageapi_imagemagick.module =================================================================== --- imageapi_imagemagick.module (revision 154) +++ imageapi_imagemagick.module (working copy) @@ -159,6 +159,13 @@ function _imageapi_imagemagick_check_path($path) { $errors = array(); + // Try it out and return without errors on success + $handle = popen($path . " -version", 'r'); + $im_version = fread($handle, 2096); + pclose($handle); + if (strpos($im_version, 'ImageMagick') !== FALSE) { + return $errors; + } if (!is_file($path)) { $errors[] = t('The specified ImageMagick path %file does not exist.', array('%file' => $path)); }