krites export¶
Description¶
Render the chosen verdict set into the shoot's export/ directory. This is the
only command that produces output pixels (spec 0001 §4.6; R-EXP-2) — it
writes into export/ and never touches the originals.
Each frame's reversible edits are baked here, in order removals →
straighten → crop → look (R-EXP-1, R-EXP-4) — a pure-Go pipeline (composite
cached removal patches, then rotate/crop/resize +
white-balance/tone/LUT), so only RAW decode is ever native and no model runs at
export. A frame with no edits and no resize is copied verbatim (lossless,
metadata preserved); a
developed frame is decoded, baked, and re-encoded (PNG for a .png source, JPEG
otherwise). Looks resolve against the shoot's develop-config catalog; an unknown
look renders without the grade rather than failing.
A RAW frame always renders — the deliverable is a JPEG from its embedded
preview (0006 §7, Q1), never a copied RAW container — written as
<frame>.jpg (e.g. IMG_001.ARW → IMG_001.ARW.jpg, so a RAW+JPEG pair
cannot collide in export/).
The shoot must already be culled with krites cull; develop
edits come from krites straighten,
krites crop and krites develop.
Usage¶
Flags¶
| Flag | Description | Default |
|---|---|---|
--shoot |
Shoot directory to export | the current directory |
--verdict |
Which verdict set to export (keep / maybe / reject) |
keep |
--max-dim |
Cap the exported longest side in pixels (0 = full resolution) |
0 |
--quality |
JPEG quality for baked frames (1–100) | 90 |
--output |
Output format: text or json |
text |
Examples¶
# Copy the keepers into <shoot>/export/
krites export --shoot ~/shoots/smith-wedding
# Export the "maybe" pile for a second look
krites export --shoot ~/shoots/smith-wedding --verdict maybe