Class HuygensTools
Static class to interact with HuCore.
Namespace: hrm
Package: hrm
Located at HuygensTools.php
Methods summary
public static
array|null
|
#
huCoreTools( string $tool, string $options )
Calls a local hucore (that must be in the $PATH) to
execute some freeware image processing tools, or report
parameters. This local hucore doesn't need to have a license!
Calls a local hucore (that must be in the $PATH) to
execute some freeware image processing tools, or report
parameters. This local hucore doesn't need to have a license!
Parameters
- $tool
- is the procedure in scripts/hucore.tcl to be executed.
- $options
- are extra command line options to send to that script
Returns
array|null An array with all stdout lines
|
public static
array|string
|
#
askHuCore( string $tool, string $options = "" )
A wrapper around huCoreTools to retrieve an array, which is
'calculated' by hucore in the background.
A wrapper around huCoreTools to retrieve an array, which is
'calculated' by hucore in the background.
Parameters
- $tool
- It is the procedure in scripts/hucore.tcl to be executed.
- $options
These are extra command line options to send to that script
hucore output. By default, it uses the same tool name.
Returns
array|string The requested array.
Todo
Do not return different types!
|