ComfyUI Node
π Watermark
GPU accelerated watermark overlay. TorchLanc resize for quality and speed. Works for single images, but efficient for batches, too!
π Watermark
- image
- IMAGE
βwatermarkβΎβΊ
βpositionbottom-rightβΊ
βscale70βΊ
βtransparency100βΊ
βrotation0βΊ
βpadding_x0βΊ
βpadding_y0βΊ
βoptical_paddingfalseβΊ
βoptical_strength40βΊ
βmax_batch_size0βΊ
βsinc_window3βΊ
βprecisionfp32βΊ
Categoryimage/post
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Images to watermark. Accepts (H,W,C) or (B,H,W,C) with values in [0β1]. Processed on GPU. | |
| watermark | COMBO | Select or upload the watermark image (PNG recommended). The fileβs transparency is preserved. | |
| position | COMBO | bottom-right | Where to place the watermark. Padding is ignored when 'center' is selected. Rotation clips; no canvas expand. |
| scale | INT | 701β100 | Width-based scaling. Target watermark width = image width Γ (scale/100). Aspect ratio preserved. |
| transparency | INT | 1000β100 | Alpha multiplier for the watermark: 100 = unchanged, 0 = fully transparent. |
| rotation | INT | 00β359 | Rotate the watermark (degrees) with bicubic resampling. Canvas expands so nothing is clipped (PIL-style). |
| padding_x | INT | 00β16384 | Extra horizontal padding in pixels from the chosen edge (ignored when position='center'). |
| padding_y | INT | 00β16384 | Extra vertical padding in pixels from the chosen edge (ignored when position='center'). |
| optical_padding | BOOLEAN | false | Adjust placement by the watermarkβs visual center so equal padding looks right (optical alignment). Affects corner positions; ignored when position='center'. |
| optical_strength | INT | 400β100 | How strongly to nudge toward visual centering (0β100). 0 = off. Higher values shift more for wide/rotated marks. |
| max_batch_size | INT | 00β4096 | Process images in chunks to control VRAM. 0 = process the whole batch at once. |
| sinc_window | INT | 31β8 | Lanczos window size (a) used when resizing the watermark. Higher = sharper (but more ringing). |
| precision | COMBO | fp32 | Resampling compute dtype. fp32 = safest quality; fp16/bf16 can be faster on many GPUs. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | β |