public function testGetImageIdentifyExecutable() { $this->assertNotNull(ezcBaseFeatures::getImageIdentifyExecutable()); }
public function testGetImageIdentifyExecutable() { $this->assertEquals('/usr/bin/identify', ezcBaseFeatures::getImageIdentifyExecutable()); }
/** * Checks the availability of ImageMagick on the system. * * @return bool */ protected function checkImagemagick() { if (!isset($this->options['binary'])) { $this->binary = ezcBaseFeatures::getImageIdentifyExecutable(); } else { if (file_exists($this->options['binary'])) { $this->binary = $this->options['binary']; } } return $this->binary !== null; }