Headless render and snapshots
- Render:
chromaforge-cli render IN -o OUTdevelops one file and writes it with the same encoder as the Export dialog. The format follows the extension (.jpg,.png,.tif,.webp,.avif,.jxl,.psd,.dng; a video clip exports as.mp4/.mov). - Options:
--set CONTROL=VALUE(repeatable),--settings FILE(JSON,.lcpresetor XMP preset),--preset ID,--size N(long edge),--quality Q,--trim IN,OUTfor clips. - Any export option:
--opt KEY=VALUE, e.g.colorSpace=displayP3,bitDepth=16,percent=50,shortEdge=1080,metadata=none. - Snapshot:
chromaforge-cli snapshot --demo --script tour.jsonl -o out.pngruns the whole app UI headless and writes PNGs. Scripts are control-channel requests, one per line. - Snapshots are CPU-rendered; use them on servers, in CI or when the display is asleep.
chromaforge-cli render in.dng -o out.jpg --set light.exposure=0.5 --set light.contrast=20 --size 2048chromaforge-cli render in.dng -o out.tif --opt colorSpace=displayP3 --opt bitDepth=16chromaforge-cli snapshot --demo --script tour.jsonl -o out.png --size 1600x1000- The manual’s own screenshots are made this way; see
docs/testing-sil.mdin the repository for the scripted-UI test suite.