Exec
The Exec component allows you to execute third party command line applications. This way you can run advanced transformations on your content using tools like:
- powerpdf
- imageMagick
- pdftk
- 7zip
Configuration
Inputs | Outputs
A message containing the
Example:
Example: With magick
IncorrectCorrect
arguments
key to pass to the command. The example below illustrates how this can be achieved. The command 7z a -t7z files.7z *.txt
can be executed with the following input:Example:
{
"arguments":[
"a",
"-t7z",
"files.7z",
"*.txt"
]
}
note
Both argument keys and argument values need to be separated.
Example: With magick
Incorrect
{
"arguments": [
"Path\To\Image.png",
"-resize 50%",
"Path\To\outputImage.png",
]
}
{
"arguments": [
"Path\To\Image.png",
"-resize",
"50%",
"Path\To\outputImage.png",
]
}