krites xmp write¶
Description¶
Write an XMP sidecar (<frame>.xmp) beside each original, carrying the cull
verdict as a star rating and a colour label that Lightroom reads (spec
0001 §4.7; R-XMP-1). Importing the folder (or reading metadata) in Lightroom
then surfaces your krites cull as ratings + labels — no originals are modified,
only the .xmp companions are written (R-XMP-3).
Verdict → sidecar mapping:
| Verdict | xmp:Rating |
xmp:Label |
|---|---|---|
| keep | 5 | Keep |
| maybe | 3 | Maybe |
| reject | 1 | Reject |
Once a frame has been developed, write also carries its crop and straighten
angle into Camera-Raw settings (crs:HasCrop, crs:Crop*, crs:CropAngle,
R-XMP-1b), so keepers open in Lightroom already leveled and cropped. A
frame straightened but not cropped carries its corner-safe inner crop. White
balance is not yet carried (see the note below).
The shoot must already be culled with krites cull;
develop geometry comes from krites straighten and
krites crop.
Usage¶
Flags¶
| Flag | Description | Default |
|---|---|---|
--shoot |
Shoot directory | the current directory |
--output |
Output format: text or json |
text |
Example¶
Note: Looks, retouch and object-removal are never written to XMP (Adobe can't represent them) — those live only in
krites export. The XMP path carries the decisions Lightroom understands: verdict, crop and straighten.White balance and the exact
crs:CropAnglesign are pending verification against Lightroom before white-balance carry is enabled (the look's white balance is an RGB-gain model, which needs a temperature/tint mapping to travel to Camera-Raw cleanly — see spec0006§6/§9).