Ilyworks icon

Ilyworks

Transform images and video with the Ilyworks media API

Document (PDF) → Watermark

AI-generated

Summary

Add a text watermark to every page of a PDF document, sourced from either a URL or binary input, with customizable watermark appearance options.

Inputs

  • PDF URL — URL of the source PDF to watermark; leave empty to use a binary input PDF.
  • Binary Property — Name of the binary property containing the PDF file; used when PDF URL is empty.
  • Watermark Text (required) — The text string to use as the watermark, applied to every page.
  • Watermark Options — Options to customize watermark angle (degrees), color (hex without #), font size, and opacity (0 to 1).

Output shape

binary PDF file with watermark applied

The output is a single PDF file returned as binary data with MIME type 'application/pdf'. The watermark is applied to every page of the input PDF.

Examples

Example 1: Watermark a PDF file sourced from a URL with default watermark styling.

Set 'PDF URL' to the source PDF URL, specify 'Watermark Text', leave 'Watermark Options' at defaults.

Example 2: Watermark a PDF file provided as binary input with customized watermark appearance.

Leave 'PDF URL' empty, specify 'Binary Property' containing the PDF, set 'Watermark Text', adjust 'Watermark Options' such as angle, color, font size, and opacity.

Links

Discussion