
Painting Brush Holder - Can Hold 49 Pens/BrushesĪdjustable LED Light Headband Magnifier Glass The CLI version also outputs a json file that gives more information about the palette, which colors are used and in what quantity, e.g.Paint by Numbers Accessories | Supplies | Tools The bordersLabels profile outputs to a svg file without filling facets and jpgtest outputs to a jpg file with jpg quality setting of 80. The "full" profile shows labels, fills the facets and shows the borders with a 3x size multiplier, font size weight of 50, color of #333 and output to a png image. There are also output profiles that you can define to output the result to svg, png, jpg with specific settings, for example:

ResizeImageIfTooLarge (true/false): if true and the input image is larger than the given dimensions then it will be resized to fit but will maintain its ratio. The small facet removal can introduce new narrow pixel strips, so this is repeated in a few iterative runs. NarrowPixelStripCleanupRuns: narrow pixel cleanup removes strips of single pixel rows, which would make some facets have some borders segments that are way too narrow to be useful. A segment (shared border with a facet) will always retain its start and end point. NrOfTimesToHalveBorderSegments: reducing the amount of points in a border segment (using haar wavelet reduction) will smooth out the quadratic curve more but at a loss of detail. MaximumNumberOfFacets: if there are more facets than the given maximum number, keep removing the smallest facets until the limit is reached RemoveFacetsFromLargeToSmall (true/false): largest to smallest will prevent boundaries from warping the shapes because the smaller facets act as border anchorpoints but can be considerably slower Lowering the value will create more detailed results but might be much harder to actually paint due to their size. RemoveFacetsSmallerThanNrOfPoints: removes any facets that are smaller than the given amount of pixels. The names are also mentioned in the output json that tells you how much % of the area is of that specific color. You can use the color names in the color restrictions above. Useful if you only have a few colors of paint on hand.ĬolorAliases: map of key/values where the keys are the color names and the values are the rgb colors (as number array).

If no colors are specified no restrictions are applied. An array of rgb values (as number array) or names of colors (reference to color aliases). KMeansColorRestrictions: Specify which colors should be used. KMeansClusteringColorSpace: the color space to apply clustering in Having a bigger value will speed up the clustering but may yield suboptimal clusters. KMeansMinDeltaDifference: the threshold delta distance of the k-means clustering to reach before stopping. KMeansNrOfClusters: the number of colors to quantize the image to This ensures that the same results are generated each time. RandomSeed: the random seed to choose the initial starting points of the k-means clustering algorithm.

The settings contain mostly the same settings in the web version: You can change the settings in settings.json or optionally specify a specific settings.json with the -c path_to_settings.json argument. Paint-by-numbers-generator-win.exe -i input.png -o output.svg
