How It Works
How Crochet Charter Makes a Crochet Chart
Last updated
Make This Chart
Free graphgan chart with written rows and real color matches. Your picture stays on your device.
Open the Crochet Pattern GeneratorHow It Works
Last updated
Free graphgan chart with written rows and real color matches. Your picture stays on your device.
Open the Crochet Pattern GeneratorThis page explains, step by step, what happens between choosing a photo and getting a chart with written instructions. Everything described here runs in your browser on your own device. Your photo is never uploaded.
You can crop, rotate and flip the image, adjust brightness, contrast, saturation and sharpening, and replace or remove the background. These adjustments are applied to the full-resolution image before anything else, so they affect what the color steps below see.
A chart is a grid where each cell is one stitch, so the image has to be reduced to exactly the stitch and row count you choose, anywhere from 10 to 400 stitches per side.
Area averaging. Each chart cell covers a small rectangle of the original image. Instead of picking one pixel from that rectangle, which makes charts noisy, every pixel in it is averaged, weighted by how much of it falls inside the cell.
Linear light. Image files store color in sRGB, which is compressed to match how eyes perceive brightness. Averaging those values directly makes mixed areas too dark, so pixels are converted to linear RGB first, averaged, then converted back. Fine detail such as fur or text keeps its true brightness.
Stitch aspect ratio. Crochet stitches are not square. A single crochet stitch is a little wider than it is tall, roughly 1 : 0.89 at the default worsted gauge of 16 sts × 18 rows per 4 in, while a C2C tile is close to 1 : 1. The ratio is calculated from the gauge, so entering your own swatch gauge changes it, and you can also set it by hand. When the image is resized, cells are given the real stitch proportions, so a round face stays round in the finished piece instead of looking squashed. That is why a square photo charted in single crochet has more rows than stitches.
A photo has thousands of colors; a crochet chart needs a handful you can buy. Colors are reduced with k-means++ clustering in CIELAB.
You can then lock, merge, swap or replace colors by hand.
Each chart color is matched to the nearest shade in our yarn database using the CIEDE2000 color difference formula, also computed in CIELAB. CIEDE2000 is the standard formula for how different two colors appear, and it corrects for known weak spots in simpler distances, especially in blues, near-neutral grays and very light shades. You can match within one brand, across brands, or only against yarn you have entered as your stash.
Why screen colors are approximate. Every shade in the database has a hex value that represents it on screen. Those values come from photos and published swatches, and they cannot be exact. Yarn has texture, sheen and depth that a flat color does not show, monitors and phones display the same value differently, and dye lots vary. Use the matches to narrow your choices, then check the real skeins. If a shade looks wrong, you can suggest a correction.
Despeckle. The chart is scanned for connected components: groups of touching cells of the same color. Tiny components, such as a single stray stitch, are reassigned to the surrounding color they most resemble. A single stray stitch in a row costs two color changes, into the speck and back out, so each one removed saves work and tails.
Smoothing evens out ragged edges along color boundaries.
Color-change minimiser. This optional step looks for very short runs of a color within a row, where a change would cost a lot of effort for very little visual difference, and merges them into a neighboring color when the color difference is small. The tool shows the total number of color changes before and after, so you can decide whether the simplification is worth it.
Dithering. Floyd–Steinberg dithering is available but off by default. It can make photos look smoother on screen, but it creates scattered single stitches that are very hard to crochet.
The written pattern is generated directly from the final chart grid, following the conventions of each technique:
Left-handed mode, UK terms and RS/WS labels change the wording and direction, not the chart.
Automatic verification. After the instructions are written, a separate step reads the text back, rebuilds a chart from it alone, and compares that chart with the original cell by cell. The instructions are only accepted when the two match exactly. This catches errors such as an off-by-one count or a reversed wrong-side row before you ever see them.
Yarn is estimated per color from its stitch count:
yards = stitches × yd per stitch (scaled by gauge) × (1 + safety)
The base yards per stitch for worsted weight with a 5 mm (H-8) hook are about 0.06 for sc, 0.09 for hdc, 0.13 for dc, 0.075 for tapestry sc and 0.5 per C2C tile. For other gauges this is scaled by stitch width. Tapestry adds the strands you carry: in every row, each color is carried across the stitches worked in the other colors, plus 10% slack. Mosaic counts each drop-down dc as a longer stitch than a plain dc, and adds about 12 in of tails per row if you cut the yarn at the end of each row. Filet counts a mesh square as about 55% of the yarn of a block. The default safety margin is 10%. Each color is then divided by the yards per skein of the chosen yarn line and rounded up to whole skeins. The yarn calculator explains how to calibrate this with your own swatch.
Questions about any of this? Get in touch.