27 protected $name =
'GraphicsMagick';
38 'GFX/image_processing' => 1,
42 'GFX/im_path_lzw' =>
'',
43 'GFX/im_version_5' =>
'gm',
44 'GFX/im_v5effects' => -1,
45 'GFX/im_mask_temp_ext_gif' => 1,
46 'GFX/colorspace' =>
'RGB',
67 foreach ($searchPaths as $path) {
68 if (TYPO3_OS ===
'WIN') {
69 $executable =
'gm.exe';
73 if (@is_file($path . $executable)) {
74 $command = escapeshellarg($path . $executable) .
' -version';
75 $executingResult = FALSE;
78 $firstResultLine = array_shift($executingResult);
79 if (strpos($firstResultLine,
'GraphicsMagick') !== FALSE) {
80 $this->foundPath = $path;
findGraphicsMagickInPaths(array $searchPaths)
findExecutableInPath(array $searchPaths)
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren't numeric.
static exec($command, &$output=NULL, &$returnValue=0)