Thread Palette ReducerCompare 4 / 8 / 12 / 16 color budgets on 64×64 motif (chroma-confetti.png)

Cross-Stitch Thread Palette Reducer

Reduce needle changes and skein purchases by comparing stitch-weighted CIEDE2000 perceptual error across 4, 8, 12, and 16 thread budgets.

Turn any photo into a printable cross-stitch pattern

PNG, JPG, or WebP · up to 20 MB · your artwork stays privately on your device

Or explore a ready-to-stitch example
Customize Fabric Count, Thread Budget & Stash Before Uploading14ct · 8 colors
Fabric & Pattern Size14ct
Fabric Count
Thread Colors & CleanupUp to 8 colors
8
Clean Stray Stitches
My Thread StashOptional filter
Verified Sample · CC0-1.0Sample file: chroma-confetti.png (256 B)

Verified Sample Result & Instant Demo

Try Sample File in 1 Click

How does stitch-weighted perceptual error behave on chroma-confetti.png across 4, 8, and 12 color budgets? Budgets of 8 and 12 colors retain all 7 motif shades at 0.0000 weighted ΔE00, whereas tightening to 4 colors merges minor accents at 0.0754 weighted ΔE00.

4-Color Weighted ΔE00
0.0754ΔE00
8-Color Weighted ΔE00
0ΔE00
12-Color Weighted ΔE00
0ΔE00
Active Motif Colors
7codes
Cryptographic SHA-256 & Engine Provenance
Sample Input File
chroma-confetti.png · 256 bytes · CC0-1.0
Browser Codec Engine
culori CIEDE2000 4.0.2
Input SHA-256 Digest
1a8c5db9962cfc3987ab0600f59abe6086ff6d34f7136eab06fbd873f66caf21
Engine Artifact SHA-256
09dc0be3088b19c120af9e7cad015236268b6b5e2a0f2a8d23ffed7b0d57326c
Reference Verification
CIE Publication 142-2001 D65
Schema & Preset ID
stitch.palette.reducer.v1 · palette-reducer-compare-8-12 · per-size-weighted-error-curve

Deterministic Perceptual Medoid Selection for Low-Color-Count Patterns

Balancing Skein Cost Against Perceptual Fidelity

Unconstrained photo quantization frequently selects thirty-five to fifty distinct floss numbers, half of which appear fewer than fifteen times across the entire canvas. Buying whole eight-metre skeins for trace transition shades inflates material cost and triples parking complexity.

Unlike randomized K-means clustering—which produces different thread lists every time you click refresh—our reducer runs deterministic farthest-weighted seeding followed by exact stitch-weighted CIEDE2000 medoid swap refinement over real catalog threads.

Reading the Multi-Budget Perceptual Error Curve

Every run evaluates four reference palette budgets (4, 8, 12, and 16 colors) side-by-side so you can pinpoint the "knee" of the perceptual error curve before committing to a skein count.

  • When an illustration contains fewer unique hues than the chosen ceiling, zero unnecessary merging occurs.
  • On continuous-tone landscapes, stepping from 16 down to 12 colors often raises mean ΔE00 by under 0.6 units while saving four skeins.
  • Pair palette reduction with 4-neighbor confetti cleanup to consolidate tiny boundary remnants into crisp color blocks.

Common Questions & Answers

Does the palette reducer use random K-means initialization?

No. Seeding and medoid swap refinement are 100% deterministic, guaranteeing identical thread lists every time you load the same image.

How is weighted mean ΔE00 calculated?

Each stitched cell contributes its CIEDE2000 distance between sampled source Lab D65 and assigned thread Lab D65, divided by total stitched cells.

100% Private In-Browser Processing

Verified local execution

  • Zero Cloud Uploads

    Your files stay on this device and are never sent to any remote server.

  • Instant Local Speed

    Runs directly on your device up to 20 MB with no upload queue.

  • No Account Needed

    Open a file, inspect your preview, and download immediately without signing up.

View Security Architecture
Execution Sandbox
Dedicated Web Worker
Post-Init Network
Locked (0 Egress)
Max File Budget
20 MB
Cross-Origin Isolation
Single-Thread WASM

After local WebAssembly initialization, Worker network APIs (fetch, XMLHttpRequest, WebSocket) are locked to prevent outbound data egress.