Can't detect convert

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
sebarpin

Can't detect convert

Post by sebarpin »

Hi,

I have a software that try to find convert but it can. ImageMagick is install and working as I test it with a php script. The script the system use to detect it is:

// Check if ImageMagick is installed
$ext['opt']['ImageMagick'] = 'ImageMagick';

$convert = findBinary(array('convert'));

if(is_executable($convert)) {
$res = `$convert --version`;

if (preg_match("/ImageMagick/", $res)) {
$_SESSION['pref']['convertPath'] = $convert;
$_SESSION['plugins']['Atmail_FilePreview'] = 1;
unset($ext['opt']['ImageMagick']) ;// = '';
}
}

Thanks for the help. Do I need to put the convert file somewhere else?

I'm running centos 5.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Can't detect convert

Post by fmw42 »

Post Reply