Action Image
Convert Image
Reads an image from a source path and saves it to a new path in a different format.
Node IDConvertImageAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Source File Path sourceFilePath | file_picker | Yes | — | The full path to the source image to convert (e.g., "C:/temp/image.png"). |
Output File Path (Optional) outputFilePath | file_picker | No | — | The full path to save the converted image. If left blank, it will save next to the source file with the new extension. |
Output Format format | enum | Yes | png | The image format to convert to. |
Overwrite overwrite | boolean | No | false | If true, overwrites an existing file at the output path. |
Create Directory createDirectory | boolean | No | true | If true, creates the parent directory for the output file if it doesn't exist. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | Triggers the image conversion. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Success output0 | object | outputFilePath | Fires on success and contains the new file path as data. |