blackdroid.dev

Image to Pattern (LEGO / Perler / Cross-Stitch)

Convert images into LEGO mosaics, Perler bead patterns or cross-stitch charts — palette quantization, grid overlay and a per-color parts list with CSV export.

Turn any image into a LEGO mosaic, Perler bead or cross-stitch pattern — palette-quantized grid plus a full parts list. Everything runs locally.

About Image to Pattern (LEGO / Perler / Cross-Stitch)

Physical pixel crafts all start the same way: quantize an image to a limited palette on a fixed grid. This tool does it three ways — a ~30-color LEGO palette for 1×1-plate mosaics, a Perler/fuse-bead palette, and popular DMC floss colors for cross-stitch — with a grid overlay and a complete parts list (color, hex, count) for shopping or kitting.

Everything runs in the browser: the image is downscaled, each cell mapped to the nearest palette color, and the pattern plus parts CSV can be downloaded. Set the grid width to control detail versus build cost.

Everything runs locally in your browser — nothing you type, paste or drop is uploaded to a server.

How to use Image to Pattern (LEGO / Perler / Cross-Stitch)

  1. Upload an image and choose the craft — LEGO, Perler beads or cross-stitch.
  2. Set the grid width in cells (the height follows the aspect ratio).
  3. Toggle grid lines and check the pixelated preview.
  4. Download the pattern PNG and the parts CSV — or copy the CSV straight to a spreadsheet.

Frequently asked questions

How many pieces will my mosaic need?

Grid width × height cells, all counted in the parts list — e.g. a 48-wide 4:3 image is 48×36 = 1728 pieces.

Which LEGO palette is used?

~30 widely available colors (basic bricks, plates and the common skin/earth tones). Retired or rare colors are deliberately excluded so the parts are actually buyable.

Does it support transparent images?

Transparent pixels are mapped to the first palette color (white in each set) — crop or flatten the image first if you want a different background.