Add Watermarks to Images Using Power Automate

In this guide, you’ll learn how to automatically add a watermark to an image file using Power Automate. You can add text, rectangles, images, PDF files, QR codes, barcodes, and other shapes as watermarks to your image.

This specific example adds a text watermark to a JPG file located in Dropbox and then creates a new version of the watermarked image in a specified location within OneDrive for Business.

We support a wide variety of files, and you can easily adjust the file to be watermarked to be a PNG, TIFF, BMP, or other file type (see file formats we support). You can also watermark images on other platforms, like SharePoint, Google Drive, or any platform supported by Power Automate. Customize our example by adding additional automation, like sending a watermarked image via email.

Prerequisites

Before building the workflow, ensure all prerequisites are in place.

Using Power Automate to Add Text Watermarks to Images

The following image shows a high-level view of how to add text watermarks to image files with PDF Converter for Power Automate.

watermark image using power automate

Specifying the Folder

Insert the When a file is created (properties only) flow action for Dropbox, and in the Folder field, specify /muhimbi documents.

folder

Inserting a Condition

Insert the Condition flow action, and specify List of Files Names, which is the output of the When a file is created (properties only) action. It ends with .jpg.

insert condition flow

Getting the File Content

If the step above evaluates to true, add Get file content for the Dropbox action in the If yes box. In the File field, enter List of Files Id, which is the output of the When a file is created (properties only) action.

list of files id

Adding the Text Watermark

Insert the Muhimbi Add text watermark action. This workflow action can be used to apply text to the foreground or background of images with full control over the font, style, size, and color. The text stored in the content field may contain embedded field codes. Power Automate expressions are also supported, which makes it possible for dynamic information stored in workflow variables or in an item’s columns to be embedded in the watermark.

Add the following mandatory fields to the action:

  • Source file content — Specify File Content, which is the output of the Get file content action.
  • Watermark content — Enter the text you want to be displayed in your watermark.
  • Font size — Enter the watermark font size.
  • Font color — Enter the watermark font color.
  • Text alignment — Select the text alignment of the watermark.
  • Word wrap — Select the word wrap style for the watermark.
  • Position — Select the position in the image where you want the watermark to be displayed.
  • Width —100
  • Height — 50

source file content

Creating a File

Insert the Dropbox Create file action after the Add text watermark action.

The action has three main parameters:

  • Folder Path — The path of your destination folder.
  • File NameList of Files Names, which is the output of the When a file is created (properties only) action.
  • File ContentProcessed file content, which is the output of the Add text watermark action.

add text watermark action

Save the flow. You can test it by uploading an image in JPG format to the Dropbox location. This will trigger the flow after a minute and create a new image in JPG format with a watermark in the OneDrive for Business location.

Additional Resources

For more information, refer to the following resources.

Power Automate Templates

Articles

Have a Question?
We’re Always Happy to Help.

© Muhimbi Ltd. 2008 - 2024
This website uses cookies to ensure you get the best experience. Learn more