Image Writer (Table)

This node takes all images in a certain column of the input table and writes them, each as a separate file, into a directory. It will append the paths of the written files to the input table as well as the corresponding write status (created, unmodified, overwritten).

This node can access a variety of different file systems. More information about file handling in KNIME can be found in the official File Handling Guide.

Options

Folder
Select a folder where the image files will be stored. You can specify the file system and path.
Create missing folders
If enabled, missing folders in the output path will be created automatically. If disabled, the node will fail if any folder in the path does not exist.
If exists
Specify the behavior of the node in case the output file already exists.
  • Fail: Will issue an error during the node's execution (to prevent unintentional overwrite).
  • Overwrite: Will replace any existing file.
  • Ignore: Will ignore if a file already exists and continues the copying process.
Image column
Select the column containing the images to write to files.
Remove image column
If enabled, the image column will be excluded from the output table.
Generate file names
If enabled, file names will be generated using a pattern with an auto-incrementing counter. If disabled, file names will be taken from a column in the input table.
File name pattern
The file names will be generated using the provided pattern. The pattern must contain a single "?" symbol. This symbol will, during execution, be replaced by an incrementing counter to make the file names unique. The file extension will be detected automatically and must not be specified.
File name column
Select the column containing the file names for the output images, or select RowID to use row IDs as file names. The file extension will be determined automatically and should not be included in the column values.

Input Ports

Icon
Table that contains images.
Icon
The file system connection.

Output Ports

Icon
Input table plus additional path to saved images plus the corresponding write status (created, unmodified, overwritten).

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.