Cleanup/quality pass #1

Merged
froxxxy merged 14 commits from cleanup/quality-pass into main 2026-07-18 17:53:57 +02:00
Showing only changes of commit 5920766f42 - Show all commits
@@ -0,0 +1,31 @@
#!/usr/bin/env python3
"""Resize to 2000px max edge, then colorsplash + F12 watermark darktable style."""
from pathlib import Path
from imagepipeline import Pipeline
INPUT = Path(
"/home/frank/pics/20260712_Aichelberg Indians - Heidelberg Hedgehogs/darktable_exported/edits"
)
OUTPUT_BASE = Path.home() / "pipeline_output"
MAX_EDGE = 2000
STYLE = "Watermark F12.rocks"
def main() -> None:
with Pipeline(
name="watermark_f12_2000px",
input_dir=INPUT,
output_base=OUTPUT_BASE,
) as p:
resized = p.step("imagemagick_resize", inputs="input", max_edge=MAX_EDGE)
p.step("darktable_style", inputs=resized, style=STYLE)
output_root = p.run()
print(f"Pipeline finished. Output: {output_root}")
if __name__ == "__main__":
main()