Feature: colprof -u (Structured JSON Calculation Progress) #4

Closed
opened 2026-08-21 09:12:05 +01:00 by gronod · 1 comment
Owner

Description

Add a -u flag to colprof to emit JSON progress events during ICC profile calculation.

Rationale

High and Ultra quality profile generation (-q h, -q u) is highly CPU-intensive and time-consuming. Parsing dots (.) or numbers printed to stdout for progress bars is unreliable. Structured JSON progress ensures smooth, robust UI feedback.

Proposed Output

{"event": "progress", "stage": "gamut_mapping", "percent": 75}
### Description Add a `-u` flag to `colprof` to emit JSON progress events during ICC profile calculation. ### Rationale High and Ultra quality profile generation (`-q h`, `-q u`) is highly CPU-intensive and time-consuming. Parsing dots (`.`) or numbers printed to `stdout` for progress bars is unreliable. Structured JSON progress ensures smooth, robust UI feedback. ### Proposed Output ```json {"event": "progress", "stage": "gamut_mapping", "percent": 75} ```
gronod added this to the v3.5.1 - UI Subprocess Integration milestone 2026-08-21 09:12:05 +01:00
gronod added the Kind/Feature
Reviewed
Confirmed
1
Area/UI
labels 2026-08-21 18:31:42 +01:00
Author
Owner

Implemented -u flag in colprof to emit structured JSON progress events (gamut_mapping, a2b_table, b2a_table, and gamut_table) during ICC profile calculation.

Branch: feature/colprof-json-progress
Pull Request: #13

Implemented `-u` flag in `colprof` to emit structured JSON progress events (`gamut_mapping`, `a2b_table`, `b2a_table`, and `gamut_table`) during ICC profile calculation. Branch: `feature/colprof-json-progress` Pull Request: #13
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gronod/argyllcms#4