예제 #1
0
 public function testGetImageIdentifyExecutable()
 {
     $this->assertNotNull(ezcBaseFeatures::getImageIdentifyExecutable());
 }
예제 #2
0
 public function testGetImageIdentifyExecutable()
 {
     $this->assertEquals('/usr/bin/identify', ezcBaseFeatures::getImageIdentifyExecutable());
 }
예제 #3
0
 /**
  * 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;
 }