amayer5125 is savage

This commit is contained in:
Frank Schwenk
2026-05-30 11:33:07 +02:00
commit e7cdb8dd6f
55 changed files with 4339 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#!/usr/bin/env python3
"""Example pipeline: convert all exported images to grayscale."""
from pathlib import Path
from imagepipeline import Pipeline
# Change this to your Darktable export folder.
INPUT = Path("/path/to/darktable/export")
# Optional: where run folders are created (defaults to current working directory).
OUTPUT_BASE = Path.home() / "pipeline_output"
def main() -> None:
with Pipeline(
name="example_grayscale",
input_dir=INPUT,
output_base=OUTPUT_BASE,
) as p:
gray = p.step("imagemagick_grayscale", inputs="input")
# Chain another step on the result:
# p.step("imagemagick_grayscale", inputs=gray, colorspace="Gray")
output_root = p.run()
print(f"Pipeline finished. Output: {output_root}")
if __name__ == "__main__":
main()