Nonogram Maker (Picross from a Picture)
Nonograms from a drawing or an image, checked for one solution and fixed with givens.
How it works
Turn a pixel drawing, a built-in picture or a PNG image into a printable nonogram (picross, griddler) with row and column clues. A line solver checks that the puzzle can be solved without guessing; if not, it adds as few given cells as it can until it can. Answer key included.
- Clues are the lengths of the runs of filled cells in each row and column. Images are reduced to the chosen grid by averaging the Rec. 709 luminance of each cell (transparent parts count as white) and comparing with the threshold.
- Line solver: for one row or column, a dynamic programme over (cell, block) from both ends marks every cell that is filled in all placements of the blocks consistent with the known cells, or empty in all of them. Rows and columns are repeated until nothing changes. If that solves the grid, the solution is unique.
- Fix: while cells stay undecided, the undecided cell that settles the most other cells when revealed is printed as a given (filled square or a cross) and the line solver runs again.
Photos rarely make good nonograms; simple shapes with clear outlines work best. Without givens, a puzzle that is not line-solvable may have several solutions.
Sources
- K. J. Batenburg, W. A. Kosters: Solving Nonograms by combining relaxations (Pattern Recognition 42, 2009) (Elsevier)
- ITU-R BT.709-6 (luma coefficients) (ITU)
- ISO 32000-1:2008 Document management — Portable document format (PDF 1.7) (Adobe / ISO)
- Noto Sans fonts (SIL Open Font License 1.1) (Google / Noto project)
Part of Printshop
-
Printshop Printables studio
QR codes, calendars, labels, puzzles and posters — print-perfect PDFs in seconds.
Related tools
- Sudoku Maker (4×4 to 16×16, with Answer Key) – Printable sudokus with one solution, graded by the solving techniques needed.
- Maze Maker (Rectangle, Hexagon, Round and Shapes) – Printable mazes in squares, hexagons or circles, cut to a heart, star or your own shape.
- Binary Silhouette to SVG – Turn a binary pixel grid into exact SVG outlines with transparent holes.
How to use the Nonogram Maker (Picross from a Picture)
Turn a drawing, a built-in picture or a PNG into a printable nonogram, checked to solve line by line and fixed with given cells when needed.
What it is for
A nonogram (also called picross, griddlers or hanjie) hides a picture in a grid. The numbers beside each row and above each column give the lengths of the filled blocks in that line, in order; solving them reveals the picture. This tool makes printable nonograms from a built-in picture, from your own drawing with # and ., or from a PNG image, and adds an answer page.
The important part is the check. A nonogram can easily have two solutions, or need guessing. The tool solves the puzzle line by line like a person would; if that settles every cell, the solution is unique. If not, it can add given cells — printed pre-filled, or crossed out — until it solves without guessing.
Worked example
The built-in cat is 11 × 11 with 77 filled cells. Its first row clue is "1 1" (the two ear tips) and the fourth row is "11" (a full line). The result says "solvable line by line, so it has exactly one solution", with 0 givens.
Your own 8 × 8 smiley drawing cannot be solved line by line: the summary reads "2 given cells make it solvable line by line" and the warning repeats it. Those two cells are printed in grey on the puzzle page.
The rocket with automatic givens turned off shows what happens without the fix: "not solvable line by line", with a warning that it may have more than one solution.
A 5 × 5 checkerboard solves at once — every line clue is "1 1 1" or "1 1", and the crossings leave no choice.
How to read the result
- rowClues and colClues are the printed numbers; solution is the picture, one text row per grid row.
- lineSolvable tells you whether the picture works without help; givens is the number of cells the fix revealed.
- filledCells helps judge difficulty: very full or very empty pictures are easier.
- The PDF has the puzzle page and the answer page; SVG and PNG show the first page.
Tips and common mistakes
- Simple shapes with clear outlines make the best puzzles. Photos usually turn into noise; use the image option for logos, icons and silhouettes.
- For images, set Columns and Rows (2–50) and the Darkness threshold: cells darker than it are filled. Transparent pixels count as white; Invert fills the light parts instead.
- Keep Add givens until it solves line by line on for printed puzzles — a puzzle with two answers is frustrating.
- Thick lines every five cells help counting on paper.
- Large grids (30 × 30 and more) print small on A4; choose A3 or fewer cells.
FAQ
What does "line by line" mean?
For each row and column, the tool finds the cells that are filled (or empty) in every arrangement of the blocks that fits what is already known, and repeats until nothing changes. It never guesses.
Can I solve it on screen?
Yes. In Printshop press Play on screen…: click or press Enter to fill, right-click or press X to cross out, then check.
Are coloured nonograms possible?
Not yet; nonograms are black and white.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://printshopnonogram.usefulweb.app/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://printshopnonogram.usefulweb.app/mcp· tool nameprintshop_nonogram
Example request
curl -s -X POST https://printshopnonogram.usefulweb.app/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"source":"picture","picture":"cat"}'