Watermarking looks trivial on a single image and becomes messy across a folder. Settings that look right on one photo make the mark tiny on a larger frame, or push it half outside the picture after rotation. This guide covers the decisions behind a reliable batch workflow: relative sizing, placement, tiling, encoding, orientation, and the legal boundaries that matter more than any slider.
What a watermark is meant to solve
A watermark is a visible mark that states authorship, ownership, or the status of a copy. Photographers use one on client galleries so a shared preview still carries their name. Studios use one on drafts so reviewers know the file is not final. Teams use one on internal screenshots so they are not mistaken for public material. In each case the mark has to survive normal handling: a save, a repost, a screenshot. It does not need to be large or ugly, but it does need to be consistent, because inconsistency is what makes a batch look careless.
A watermark also cannot do the job of a licence or a contract. It is a signal, not an access control. Someone determined to remove it usually can, especially from a high-resolution file, so the realistic goal is to make casual copying awkward and to make the source obvious when an image travels without context.
Think in ratios, not pixels
Batch failures usually start with a font size chosen in pixels. A folder may contain a 720-pixel screenshot, a 2048-pixel export and a 6000-pixel camera frame. A 36-pixel label is readable on the screenshot, acceptable on the export, and nearly invisible on the camera frame. The fix is to express size as a share of image width. A corner credit usually works between 4% and 6%; a tiled pattern needs 3% to 4% so repetition does not dominate.
Margins should follow the same logic, using 3% of the shorter edge so landscape and portrait images feel similar. In code the rule is simple:
fontSize = width * sizePercent / 100
margin = min(width, height) * 0.03
Once both values are relative, one preset applies to an entire folder, and a thumbnail of the result will still show a readable mark. The same idea explains why a fixed 20-pixel margin looks generous on a small file and cramped on a large one.
Placement and readability
Corners are the default for a reason: they keep the centre of the image clear and sit where viewers expect a credit. Bottom right is the most common choice, but bottom left is safer when the image will be cropped for a social card that keeps the right side. The margin exists to stop the text from touching the edge, where it can be clipped by a rounded corner or a container.
Readability depends on contrast, not just colour. White text disappears into a bright sky; black text disappears into a dark interior. A thin outline gives the letters an edge in both cases, and keeping opacity below 100% stops the mark from looking like a redaction. If the picture is busy, reduce size rather than increasing opacity, because a large translucent mark is more distracting than a small solid one.
Tiling and resistance to cropping
A single corner mark is removed by one crop. Tiling is the practical answer: repeat the text across the frame at an angle so that any crop still contains several marks. The goal is not to make removal impossible, which it never is, but to make it expensive relative to the value of the image. Rotation around 30 degrees prevents the pattern from lining up with the edges, which makes automated cloning harder, and keeps the text from forming obvious horizontal bands.
Opacity should be lower than for a corner mark, because the pattern covers the whole image. A useful test is to view the result at thumbnail size: if the photo is still readable and the repetition is obvious, the balance is close. Very small text in a dense grid looks like noise, while very large text turns the image into a background for the watermark.
Re-encoding and image quality
Saving through a canvas always re-encodes the pixels. PNG is lossless, so the output is pixel-accurate apart from the watermark itself, but files can be large. JPEG is lossy even at quality 0.92. One generation is usually invisible; repeated generations are not. Each save adds compression artefacts, softens fine detail and can increase file size because the encoder cannot reproduce the previous block structure exactly. WebP behaves similarly at the same quality setting.
The practical rule is to keep the original as a master, apply the watermark once, and publish that version. If you must update the mark, go back to the master rather than editing the watermarked copy. Large images also hit canvas limits: a side above 8192 pixels may fail in some browsers, so check dimensions before processing a folder of scans or stitched panoramas.
EXIF orientation and batch consistency
Phone cameras often store pixels in the sensor orientation and add an EXIF tag describing the rotation needed for display. A decoder that ignores the tag gives you a bitmap that is sideways relative to what the user saw, so the watermark is drawn on the wrong axis and percentage sizing uses swapped width and height. The fix is to decode with orientation applied, which createImageBitmap supports through imageOrientation: 'from-image'.
In a batch, this is the difference between a folder of correctly oriented results and a folder where every portrait photo has a sideways mark. Note that the output is a new canvas image, so other EXIF fields such as camera model, GPS and capture time are not carried over unless you write them back explicitly. The orientation itself is baked into the pixels, which is why the saved file looks right everywhere.
Copyright and compliance
A watermark is a claim about the image, so it must be accurate. Use the tool only on images you own or have permission to mark. Do not put your name on someone else's photograph, and never place a mark over an existing watermark to hide it; in many jurisdictions that can count as removing copyright management information. Watermarking does not create ownership, and the absence of a watermark does not make an image free to use.
If you license a photo, keep the licence, the original file and a record of what was published. If you watermark a client preview, say clearly that it is a preview and deliver the clean file only after payment or approval. Finally, remember that the text itself may contain personal data, so treat the output with the same care as the source.
Consistent relative sizing, deliberate placement, low-opacity tiling, a single re-encode and correct orientation handling cover most batch problems. The rest is judgement about what the image is for and who has the right to publish it. Try the settings on a mixed-size folder with the image watermark tool, and read the guide to lossy and lossless compression if you want to understand the file-size trade-offs in more detail.