feat(spectro): add -u real-time JSON stream output to chartread #8

Merged
gronod merged 4 commits from feature/chartread-json-output into main 2026-08-21 21:51:45 +01:00
Owner

Summary of Changes

Adds the -u command-line switch to spectro/chartread to emit real-time JSON line-buffered streams over stdout for each read row.

Key Features:

  • Line-buffered ROW_COLORS_JSON: <json> messages emitted after each strip is measured.
  • Includes expected vs measured RGB/Lab values, patch indices, and strip direction flags.
  • Preserves 100% backward compatibility when -u is not supplied.
  • Fully documented in doc/chartread.html and doc/chartread_integration_guide.md.
### Summary of Changes Adds the `-u` command-line switch to `spectro/chartread` to emit real-time JSON line-buffered streams over stdout for each read row. #### Key Features: - Line-buffered `ROW_COLORS_JSON: <json>` messages emitted after each strip is measured. - Includes expected vs measured RGB/Lab values, patch indices, and strip direction flags. - Preserves 100% backward compatibility when `-u` is not supplied. - Fully documented in `doc/chartread.html` and `doc/chartread_integration_guide.md`.
gronod added 4 commits 2026-08-21 18:36:46 +01:00
gronod merged commit c0993d71a9 into main 2026-08-21 21:51:45 +01:00
gronod deleted branch feature/chartread-json-output 2026-08-22 09:29:36 +01:00
Sign in to join this conversation.