Resize, watermark, and save WebP

Start with a PNG, resize it, draw a text watermark, and convert that PNG to WebP. Each step runs in the browser, and the picture is not uploaded.

Last updated:

You have a PNG that should be a smaller WebP with the same text watermark, and you do not want to upload it. UtilChain can do that as three compatible steps: resize, watermark, then PNG to WebP.

The input is one PNG, or several PNGs if you later run the recorded steps as a batch. JPEG, WebP, AVIF, GIF, BMP, ICO, and HEIC are not the input of the last step. Convert those to PNG first when you need this exact recipe. SVG is a conversion source, not an editing input.

  1. Open Resize Image and choose the PNG. Use a percentage when the pictures in a later batch have different pixel sizes. A percentage scales each file from its own dimensions. Pixel width and height force every file into the same box.
  2. Run the resize. JPEG, PNG, and WebP keep their format. This recipe stays on PNG so the next two tools agree.
  3. Open Text Watermark with that PNG. Set the label and the size. The size can be pixels or a percentage of the image width, which is the setting that stays meaningful across a batch of different widths.
  4. Open PNG to WebP with the watermarked PNG. Set the WebP quality. The download is offered when the encoded bytes are WebP. Partial transparency can be kept.

The expected output is one WebP for a single run. A batch of PNGs produces one WebP per successful file, packed in a ZIP by the batch runner, not one combined image.

Following the suggestion buttons is not the same thing as a saved Tool Chain. A suggestion writes an IndexedDB record for this tab, keyed by a token in sessionStorage. The record holds the file for 30 minutes. It is not placed in the URL, and Start over clears only the record this tab owns. A saved Tool Chain lives in a different IndexedDB database and stores the step list: the tool, the controls you set, and the output type. It does not store the PNG or the WebP.

Limits that matter here: files over 250 MB are refused, pictures above 40 million pixels are refused, and camera EXIF is not copied because each result is a new image. GIF input on an edit tool keeps the first frame. AVIF stays AVIF only when this browser can encode it, which is why this recipe does not depend on AVIF. Canvas drawing is the browser canvas. The tab handoff uses IndexedDB.

The related guide How an image chain stays in the browser explains percentage crop and canvas size. Run a saved Tool Chain on local files explains the batch ZIP and failures.txt.

Questions

Does this workflow upload the image?

No. Resize Image, Text Watermark, and PNG to WebP all run in the browser. The picture is not posted to a conversion server.

Why does the workflow start from PNG?

Resize Image and Text Watermark keep a PNG as PNG. PNG to WebP then accepts that PNG. A JPEG or HEIC should be converted to PNG first, because the WebP step in this recipe reads PNG.

Can I run the same steps on many files?

Yes, after you record the steps as a Tool Chain. The saved record stores the steps and their settings, not the pictures. The batch reads local files one at a time.

What stops a very large image?

Each image edit refuses a file larger than 250 MB and a picture above 40 million pixels. An oversized file is rejected instead of being scaled down to sneak past that guard.

All guides