Description
Paint by numbers generator turns any input image into a paint-by-numbers pattern, vectorised as SVG. The author describes it as a proof of concept from earlier work. The README says it is no longer actively maintained, but you are free to fork it and make your own changes. The project has a web version, linked from its demo section, and a self-contained Node.js CLI that does the conversion from command-line arguments. The CLI reads its settings from settings.json, or from another file you give with the -c argument. The settings mirror the web version: a random seed so the k-means colour clustering gives the same result each time, the number of colours to reduce the image to, a minimum delta that stops clustering, the colour space used for clustering, and colour restrictions for when you only have a few paints. Colour aliases let you name colours, and the output JSON reports the share of the image covered by each named colour. A setting removes facets smaller than a given number of pixels, so every region stays practical to paint. Screenshots and example output are in the README.…
Highlights
- Image to paint-by-numbers SVG
- Web version and Node.js CLI
- K-means colour reduction with settings
- Colour restrictions for limited paints
- Output JSON with colour coverage
Ratings & Reviews
No ratings yet
Be the first to rate Paintbynumbersgenerator.
People also visit

Free Paint By Number AI Generator
Upload your photo to create your own paint by number
Photo2pixel
Algorithm used in photo2pixel.co to convert photo to pixel style(8-bit) art
ComfyUI-PixelArt-Detector
Generate, downscale, change palletes and restore pixel art images with SDXL

GenColor AI
Transform photos and text into high-quality coloring Pages in seconds
Paintbynumbersgenerator FAQ
What does it generate?
Paint-by-numbers images, vectorised as SVG, from any input image.
Is it still maintained?
The README says it is not actively maintained, but you are free to fork it and make changes.
How do I use the CLI?
It is a self-contained Node.js application. Settings come from settings.json, or from another file you pass with -c path_to_settings.json.
Can I limit the colours?
Yes. Set kMeansColorRestrictions to the colours you have, as RGB values or as colour names from your colour aliases.
What does the output show?
A JSON file with the share of the image covered by each named colour, so you know how much of each paint you need.
What are the best Paintbynumbersgenerator alternatives?
Popular alternatives to Paintbynumbersgenerator include Free Paint By Number AI Generator, Photo2pixel and demake. See all Paintbynumbersgenerator alternatives






