Task Image - Overlay
The Image overlay Task places an image or a text over existing images.
The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.
By default, Save to.. is "Same file", so the result replaces the original image. To keep the original, select "Different folder and use file mask" and enter another folder.
Image overlay: Main settings tab

- Overlay type: "Image" (default) or "Text". The Client shows the Image tab or the Text tab to match
- Relative position (Alignment group): where the overlay is placed on the image: "Top center", "Top left", "Top right", "Center" (default), "Bottom center", "Bottom left", "Bottom right" or "Custom"
- Top: the vertical offset in pixels from the top edge of the image. Used only with "Custom". Default: "0"
- Left: the horizontal offset in pixels from the left edge of the image. Used only with "Custom". Default: "0"
- X (Margin group): the horizontal margin in pixels. Default: "20". Not available with "Top center", "Bottom center" and "Center"
- Y (Margin group): the vertical margin in pixels. Default: "20". Not available with "Center"
FileFilter tab
The FileFilter tab selects the images to place the overlay on; see Job Tasks - File filter.
Image tab

Shown when Overlay type is "Image".
- Overlay image path: the full path and file name of the image to place over the image. Accepts Variables
Text tab
Shown when Overlay type is "Text".
- Text string: the text to place over the image. Accepts Variables
- Font: the font of the text. Default: "Tahoma"
- Font size: the size of the font. Default: "11". It must be a number, or the Task fails
- Text color: the color of the text. Default: "Black"
- Background color: shown in the Client, but not used when the Task runs
Destination tab

- Save to..: where the Task saves the result
- "Same file" (default): overwrites the source file
- "Same folder but use file mask": saves in the folder set in the File filter, with the name that File mask gives. A file that the filter found in a subfolder is also saved in that folder, not in the subfolder
- "Different folder and use file mask": saves in Folder, with the name that File mask gives
- Folder: the folder to save to. Available with "Different folder and use file mask"
- File mask: the name of the saved file. The default,
*, keeps the source file name. Available with both file mask options - Page range: the pages of a multi-page image to place the overlay on
- "All pages" (default)
- "Pages": the page number or page range in the field below, for example
2-4. Default: "1"
Output and errors
The Task processes every file that the File filter finds. For each saved image, the path of the saved file is added to the Task output. When several files are processed, the paths follow one another with no separator.
When the File filter finds no file, the Task fails with a file-not-found error. When an image cannot be processed, the Task fails and does not process the remaining files; images saved before the failure are kept. To change how the Task responds to these errors, see Task - On error.
The value fields accept Variables. A value that is not a whole number is read as "0".