Files
pbakaus_impeccable/tests/oracle/golden/comp-spec-usage.json
T
Paul Bakaus 37e1757a5d Make plate candidate checks non-destructive and align reference exclusions
Add exact pixel region coordinates and native command guidance. Apply UI exclusions symmetrically after cover alignment while retaining raw asset provenance checks. Verify unchanged selected assets, build state, missing-art rejection, and comp-copy rejection.

AI-assisted implementation and validation by Codex under maintainer direction.
2026-09-17 18:44:27 -07:00

8 lines
1.1 KiB
JSON

{
"stdout": "REGION COORDINATES: use one of grid (coarse inclusive cells), box {x,y,w,h} (fractions of the comp, 0..1), or pixelBox {x,y,w,h} (whole pixels in the original comp). Use exact bounds when an element ends inside a grid cell; do not include neighbouring content.\nusage: comp-spec.mjs --comp <png> --grid write .impeccable/build/comp-grid.png (10x10 labeled grid) + palette + bands\n comp-spec.mjs --comp <png> --regions <json> measure regions -> .impeccable/build/spec.json\n regions json: { \"regions\": [ { \"id\": \"art\", \"kind\": \"plate|image|texture|text|control|chrome\", \"grid\": \"E0:J4\", \"note\": \"...\" } ] }\n comp-spec.mjs --comp <png> --auto band regions when you have no regions file\n comp-spec.mjs --print the compact spec\n comp-spec.mjs --crop <id> [--out f] [--scale n] reference crop of a region (never a shipping asset)\n comp-spec.mjs --plate-prompt <id> [--background transparent|opaque|auto] the regeneration prompt for a raster region\n",
"stderr": "",
"exit": 0,
"signal": null,
"files": {}
}