Releases: drake7707/paintbynumbersgenerator
v1.04
v1.03
-
Some facets generated would have narrow borders (e.g. https://i.imgur.com/dz4ANz1.png) that are not removed by the small facet removal process. Now before the facets are built, single pixel strips horizontally or vertically can be removed to prevent this. As the small facet removal process can reintroduce some of these strips, this process is repeated in a few runs, the number configurable in the settings (or "narrowPixelStripCleanupRuns"). Setting this to 0 disables the narrow pixel cleanup altogether.
-
Output profiles now contain everything related to the output and can output to various filetypes (svg,png, jpg), e.g.:
"outputProfiles": [
{
"name": "full",
"svgShowLabels": true,
"svgFillFacets": true,
"svgShowBorders": true,
"svgSizeMultiplier": 3,
"svgFontSize": 50,
"svgFontColor": "#333",
"filetype": "png"
},
{
"name": "bordersLabels",
"svgShowLabels": true,
"svgFillFacets": false,
"svgShowBorders": true,
"svgSizeMultiplier": 3,
"svgFontSize": 50,
"svgFontColor": "#333",
"filetype": "svg"
},
{
"name": "jpgtest",
"svgShowLabels": false,
"svgFillFacets": true,
"svgShowBorders": false,
"svgSizeMultiplier": 3,
"svgFontSize": 50,
"svgFontColor": "#333",
"filetype": "jpg",
"filetypeQuality": 80
}
]
v1.02
Mainly bug fixes:
- Stability of outer border at the edges of the image
- Trying to reduce the holes that were sometimes present, which was due to a combination of things, mainly due to incorrect border segment matching when some segments are small and transition points between segments that were not shared, which would stitch different paths depending on the facet.
- Reduce the font size based on the number of digits so XX still fits
v1.01
- Font sizes are now relative to the facet largest circle at the pole of inaccesibility
- Output profiles to generate multiple outputs (e.g. a full color one, one with borders and labels only, etc.)
- Font color can now be specified
- Color aliases, can be used in the restrictions and will be mentioned in the palette json
v1.0.0
CLI version of the paint by numbers generated, conveniently packaged into a single binary executable.
Parameter usage: -i imagepath -o svgpath [-c settingsjsonpath]
It will generate an svg and a json file with the same name as the svg output file containing the palette info