Image Tool
The Image tool makes it possible for an image to be output in a report via the Render tool. The image can be retrieved from disk at run time, or a static image can be stored in the workflow. The tool does not require an input connection, and supports .png, .jpg, and .gif formats.
Configure the tool
- Retrieve Image From Disk At Runtime: Retrieves an image from a specified path when the workflow is run. When there is no incoming data, the tool retrieves a single image. When the tool has incoming data, it displays an image for each record.
- Filename: Type the directory path to the image or browse to the file.
- Modify filename for each record: Edits the filename based on other field data when the input data includes the file path or file names of the images to be added to the report.
- Appending Field to Filename: Adds the value of the selected filename to the end of the specified field. The Filename box can include a relative path (.\data\images\image.jpg) and the filename is replaced with the Image File Name + Image Name.
- Prepending Field To Filename: Adds the value of the selected filename to the beginning of the specified field. The Filename box can include a relative path (.\data\images\image.jpg) and the filename is replaced with the Image Name + Image File Name.
- Replacing Filename With Field: Changes the filename to the value of the selected field. The Filename box can include a relative folder path (.\data\images\) and the filename is added using the Image File Name.
- Replacing Entire Path With Field: Changes the entire path to the value of the selected field. The Filename box can be blank because the entire file path is included in the Image File Name field, which is used to retrieve the images.
- Stop With Error If File Not Found: Stops the workflow processing and display an error when the specified image cannot be found.
- Store Static Image In Workflow: Saves an image with the workflow so that the workflow can be shared as a single file. When the image is added, the width, height, format, size, and thumbnail display. The image file size is added to the workflow file size.
- Get Image from Binary Data in Field: Using the Image Field (Blob): dropdown, select the column that contains a blob that represents the image.
File name and file path editing options
Image Name | Image File Name | Appended File Name |
---|---|---|
Pineapple | image.jpg | imagePineapple.jpg |
Banana | image.jpg | imageBanana.jpg |
Apple | image.jpg | imageApple.jpg |
Image Name | Image File Name | Prepended File Name |
---|---|---|
Pineapple | image.jpg | Pineappleimage.jpg |
Banana | image.jpg | Bananaimage.jpg |
Apple | image.jpg | Appleimage.jpg |
Image File Name | Replaced File Name |
---|---|
Pineappleimage.jpg | .\data\images\Pineappleimage.jpg |
Bananaimage.jpg | .\data\images\Bananaimage.jpg |
Appleimage.jpg | .\data\images\Appleimage.jpg |
Image File Name |
---|
.\data\images\Pineappleimage.jpg |
.\data\images\Bananaimage.jpg |
.\data\images\Appleimage.jpg |
When using a static image, an error displays if the image is over 100KB to caution about the size that will be added to the saved workflow.
- Edit Image Settings: Click to modify the style options for the image. See Image Settings Style Editor.
- Use Fixed Width: Select to specify a fixed width for the image.
- Image Width: Type the width of the image in pixels.
- Show Border: Select to add a border around the image.
- Border Width: Type the width of the border in pixels.
- Border Color: Select the color of the border.