The 'Add Image Watermark to PDF (Advanced)' embeds the image file provided as a watermark on the PDF document provided. This action provides enhanced configuration control over the standard Add Image Watermark action.
Credit Count
This action consumes 1 credit per operation.
Note, different Encodian actions can consume different number credits. Please always check the action specific documentation and read What is an Encodian Action for a full description of how credits are consumed.
Credit Count
This action consumes 1 credit per operation.
Note, different Encodian actions can consume different number credits. Please always check the action specific documentation and read What is an Encodian Action for a full description of how credits are consumed.
Parameters
The default 'Add Image Watermark to PDF (Advanced)' flow action parameters are detailed below:
- Filename: The filename (including the file extension) of the source PDF file.
- File Content: A Base64 encoded representation of the source PDF file.
- Watermark Filename: The filename (including the file extension) of the watermark image file.
- Watermark File Content: A Base64 encoded representation of the watermark image file.
- Watermark Opacity: The opacity of the image watermark, valid values range from 0.0+ to 1.0, the default value is 1.
- Skip First Page: Set whether to skip applying the watermark to the first page.
- Apply To: Set which pages in the document the watermark should be applied to.
- Page Numbers: Sets the page numbers the watermark should be added to. This setting only applies when the 'Apply To' parameter is set to 'Specific'.
- Ignore Page Numbers: Sets the page numbers the watermark should not be added to. This setting only applies when the 'Apply To' parameter is set to 'Specific'.
- Rotation Angle: Set the rotation angle of the image watermark.
- Quality: Set the quality of the image watermark from 1 to 100.
- Y Offset: Set the vertical watermark offset in pixels, starting from the bottom of the page.
- X Offset: Set the horizontal watermark offset in pixels, starting from the left of the page.
- Scale: Set the multiplier to either reduce (less than 1.0) or increase the size of the image (greater than 1.0), for example, 1.2 is equal to 120%, and 0.7 is equal to 70%.
- Add to Background: Sets whether the watermark image should be added to the background of the page.
- Watermark ID: Override and manually set an identifier for the applied watermark
Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action.
Advanced Parameters
The advanced 'Add Image Watermark to PDF (Advanced)' flow action parameters are detailed below:
- Operation ID: (Advanced) The ID of a parent operation, please refer to Flow Action Return Options: File Content vs. Operation ID
- Return File: (Advanced) Sets whether the action should return a file or alternatively an operation ID: Flow Action Return Options: File Content vs. Operation ID
Examples
- Watermark Opacity: 1
- Rotation Angle: 90
- Quality: 100
- X Offset: 5
- Y Offset: 300
- Scale: 0.4
- Add to Background: No
- Watermark Opacity: 1
- Rotation Angle: 0
- Quality: 100
- X Offset: 400
- Y Offset: 750
- Scale: 0.2
- Add to Background: No
0 Comments