Add watermark tiling, rotation types, margin/scale controls

Wire tiled, margin, and scale UI controls to JobConfig and pass
through to WatermarkConfig. Add tiled text and image watermark
implementations that repeat across the full image. Add font family
filesystem search for named fonts. Add WatermarkRotation enum.
This commit is contained in:
2026-03-06 17:36:07 +02:00
parent 45247cdac5
commit d8bb1a726a
5 changed files with 181 additions and 5 deletions

View File

@@ -314,6 +314,9 @@ fn cmd_process(args: CmdProcessArgs) {
opacity: args.watermark_opacity,
color: [255, 255, 255, 255],
font_family: None,
rotation: None,
tiled: false,
margin: 10,
});
}
if args.rename_prefix.is_some() || args.rename_suffix.is_some() || args.rename_template.is_some() {