Operations
Add Watermarks
Add a watermark to a PDF file, to an image (PNG, JPG...) or to a video (MP4, MOV...).
To optimize a file, create a job with a watermark task.
The watermark can be either a simple text or an image file. If using an image file as watermark, make sure it has transparent background.
When using an image file as watermark, you need to add a second import task as shown below.
Task Parameters
operation
string required
Value is
watermark.input
string or array of task names
Files to add the watermark to
input_format
string
The current format of the file, e.g. pdf. If not set, the extension of the input file is used as input format.
engine
string
Use a specific engine for the conversion.
engine_version
string
Use a specific engine version for the conversion.
filename
string
Choose a filename (including extension) for the output file.
timeout
integer
Timeout in seconds after the task will be cancelled. By default, tasks time out after 5 hours.
Example Job
Using the parameters from above, you can create a job:
POSThttps://api.cloudconvert.com/v2/jobs