# Add an image watermark to a PDF

Stamp a PNG or JPEG image across the pages of a PDF, in a Power Automate flow. No code to write, and no document is stored after the run.

Use this action to add an image watermark to a PDF document in your Power Automate flow.

<PowerAutomateAction
  title="Add an image watermark to a PDF"
  caption="Add an image watermark to a PDF."
  connection="PDF Blocks Next"
  fields={[
    { label: "File Content", kind: "token", value: "File Content", required: true },
    { label: "Image Content", kind: "token", value: "Image Content", required: true },
    { label: "Transparency", value: "50" },
    { label: "Margin", value: "1" },
    { label: "Pages", placeholder: "The pages to stamp, as a comma-separated list of page numbers", advanced: true },
  ]}
/>

<ConnectorNotice kind="parameter" />

## Parameters

<ParamField name="File Content" type="File" required>
  The content of the input PDF document.
</ParamField>

<ParamField name="Image Content" type="File" required>
  The content of the image for the watermark. The format of the image must be PNG or JPEG.
</ParamField>

<ParamField name="Transparency" type="Integer Number" default="50">
  The transparency level for the watermark from 0 (opaque) to 100 (transparent). This field is optional. Valid values are integer numbers between 0 and 100.
</ParamField>

<ParamField name="Margin" type="Number" default="1.0">
  The distance in inches from the border of the page to the watermark. This field is optional. The value must be positive and can be decimal.
</ParamField>

<ParamField name="Pages" type="String">
  The pages to stamp, as a comma-separated list of page numbers and ranges (for example `1..3,5`). A negative number counts from the end, so `-1` is the last page. Leave empty to stamp every page. This field is optional.
</ParamField>

## Response

<ParamField name="Watermarked PDF File Content" type="File">
  The content of the watermarked PDF document. You can use it as an input to other actions in your flow.
</ParamField>

## Related actions

<CardGroup cols={2}>

<Card title="Add text watermark" href="/docs/power-automate/add-text-watermark-to-pdf">
  Stamp a custom text watermark instead of an image.
</Card>

<Card title="Add password" href="/docs/power-automate/add-password-to-pdf">
  Protect the watermarked document with a password.
</Card>

<Card title="Merge documents" href="/docs/power-automate/merge-pdf-documents">
  Combine several PDFs before or after watermarking.
</Card>

<Card title="Rotate pages" href="/docs/power-automate/rotate-pages-in-pdf">
  Turn pages before you stamp them.
</Card>

</CardGroup>
