Skip to content

Add native CMYK and Lab colour editing - #132

Merged
IAmJSD merged 3 commits into
mainfrom
t3code/implement-native-color-editing
Sep 17, 2026
Merged

IAmJSD merged 3 commits into
mainfrom
t3code/implement-native-color-editing

Conversation

@IAmJSD

@IAmJSD IAmJSD commented Sep 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Preserve CMYK and Lab channels natively through editing, compositing, undo/redo, recovery, and PSD/PSB round trips.
  • Add native channel selection and editing controls for brush and fill operations.
  • Add ICC-aware native colour transforms with explicit RGB processing boundaries.
  • Support native CMYK/Lab import and export across supported bit depths and compression modes.
  • Add comprehensive native colour round-trip and separation-preservation tests.

Testing

  • Added coverage for 8/16/32-bit CMYK and Lab PSD/PSB files with raw, RLE, ZIP, and ZIP prediction compression.
  • Added checks for channel edits, alpha preservation, undo/redo, compositing, pruning, translation, and ICC profile retention.
  • Added Makefile targets for native colour tests, formatting, linting, and application checks.

- Preserve native channels through editing, compositing, undo and PSD round trips
- Add channel editing, ICC boundaries and coverage tests
Check native CPU/GPU parity before ICC lookup quantization, then validate display paths against conversion of the exact GPU samples. Keep the existing float tolerances and require exact RGBA8 output.
@IAmJSD
IAmJSD merged commit 58609f5 into main Sep 17, 2026
4 checks passed
@IAmJSD
IAmJSD deleted the t3code/implement-native-color-editing branch September 17, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant