Skip to content

Select multiple quantization palettes with an independent color count - #218

Closed
JohnSt99 wants to merge 1 commit into
vycdev:developfrom
JohnSt99:codex/multiple-quantize-palettes
Closed

JohnSt99 wants to merge 1 commit into
vycdev:developfrom
JohnSt99:codex/multiple-quantize-palettes

Conversation

@JohnSt99

Copy link
Copy Markdown
Contributor

Closes #167.

  • Select several built-in, supplier, or custom palettes while keeping Number of Colors editable. Quantization reduces to that count, then matches the reduced colors to the combined enabled swatches in Lab color space. Multiple reduced colors can map to one swatch.
  • Read the legacy single-palette selection and persist checked palettes under kromacut.selectedPaletteIds. Palette management actions apply to the first checked palette.
  • Document the change from direct fixed-palette mapping. The guide explains why an existing setup can produce fewer colors with this workflow.

Validation passed: production build, lint, the reduce-before-match unit test with overlapping colors, and 28 Chromium smoke tests covering palette management and desktop imports.

@vycdev

vycdev commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Thanks for this, @JohnSt99! We picked up the multi-palette picker in #262, which builds on your selection and storage work (you're credited as co-author). It leaves out the separate Number of Colors step so results stay the same for anyone using a single fixed palette, and so Keep detail still has the full image to work with. Happy to hear what you think over there.

@vycdev

vycdev commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Closing now that #262 is merged into develop. Thanks again!

@vycdev vycdev closed this Dec 1, 2026
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.

2 participants