Post-profile chain: applycal + iccgamut #24

Open
opened 2026-09-08 17:43:12 +01:00 by gronod · 0 comments
Owner

Summary

Captured applycal then streaming iccgamut -d 10.

Spec refs

docs/04-argyll-binaries.md §7/§10, 17-stage5-verification.md. #112 #224.

Scope

In: applycal tmp+rename, iccgamut .gam.
Out: viewer (28), Stage 0 compute (29).

Implementation notes

If Apply Calibration on and .cal set: runCaptured applycal -v -a {cal} {icc} via {input}.applycal.tmp + rename. Delete tmp on failure; return last stderr.
applycal -u means unapply — never send from UI.
Then iccgamut -v -d 10 {resolvedProfile} cwd = profile parent, id iccgamut_{stem}{stem}.gam.
-d 10 is density, not a directory, not 50.

Rewrite invariants

#112 density 10. applycal -u never from UI. atomic in-place replace.

Dependencies

Blocks-on: 2 (captured), 23.
Unblocks: 28, 29.

Test

  • CI/mock: applycal argv + tmp/rename; iccgamut argv -v -d 10; failure deletes tmp.
  • Hardware: N/A.

Acceptance criteria

  • .gam produced next to profile.
## Summary Captured applycal then streaming iccgamut `-d 10`. ## Spec refs docs/04-argyll-binaries.md §7/§10, 17-stage5-verification.md. #112 #224. ## Scope In: applycal tmp+rename, iccgamut `.gam`. Out: viewer (28), Stage 0 compute (29). ## Implementation notes If Apply Calibration on and `.cal` set: `runCaptured` `applycal -v -a {cal} {icc}` via `{input}.applycal.tmp` + rename. Delete tmp on failure; return last stderr. `applycal -u` means unapply — never send from UI. Then `iccgamut -v -d 10 {resolvedProfile}` cwd = profile parent, id `iccgamut_{stem}` → `{stem}.gam`. `-d 10` is density, not a directory, not 50. ## Rewrite invariants #112 density 10. applycal `-u` never from UI. atomic in-place replace. ## Dependencies Blocks-on: 2 (captured), 23. Unblocks: 28, 29. ## Test - CI/mock: applycal argv + tmp/rename; iccgamut argv `-v -d 10`; failure deletes tmp. - Hardware: N/A. ## Acceptance criteria - [ ] `.gam` produced next to profile.
gronod added this to the M5 — Profile, verification & install milestone 2026-09-08 17:43:12 +01:00
gronod added the
Priority
High
2
Project/ICCery-v2Feature/Backend
labels 2026-09-08 17:43:12 +01:00
gronod added a new dependency 2026-09-09 11:11:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Depends on
#52 Milestone 5 Bugfixes
gronod/iccery-v2-mac
Reference: gronod/iccery-v2-mac#24