Commit 07cc3f9
committed
chore: bump pixel-mcp dependency to fork build with median-cut fix
Refreshes all 5 platform binaries from Fuitad/pixel-mcp @ e8887b3,
which fixes quantize_palette's median-cut algorithm splitting each
color bucket at the raw pixel-array midpoint instead of a boundary
between distinct colors. Pixel art typically has wildly imbalanced
color frequency (a large solid fill vastly outnumbering a 1-2px
accent detail), so splitting at the pixel-count median landed the
cut inside the dominant color's own run instead of between colors:
the dominant color got needlessly re-subdivided into near-duplicate
buckets while rare accent colors were averaged into a blended,
off-palette hex value instead of being isolated into their own
bucket, even when target_colors comfortably exceeded the number of
unique colors present (which should guarantee lossless recovery)
(upstream willibrandon/pixel-mcp#23).
Bumps plugin version to 0.5.3 and documents the change in
CHANGELOG.md.1 parent a66a632 commit 07cc3f9
7 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments