Example #1
0
 /**
  * Reset the cached information. 
  * 
  * @return void
  * @access private
  * @ignore
  */
 public static function reset()
 {
     self::$imageIdentify = null;
     self::$imageConvert = null;
     self::$os = null;
 }
Example #2
0
 /**
  * Returns the path to the ImageMagick identify utility.
  *
  * On Linux, Unix,... it will return something like: /usr/bin/identify
  * On Windows it will return something like: C:\Windows\System32\identify.exe
  *
  * @return string
  */
 public static function getImageIdentifyExecutable()
 {
     if (!is_null(self::$imageIdentify)) {
         return self::$imageIdentify;
     }
     return self::$imageIdentify = self::findExecutableInPath('identify');
 }