This application turns a picture into a nonogram: black and white or coloured.
(link to introductory video: https://youtu.be/kH7u9wnF9EY)
GenNonogram.py [-h] [-d MAXDIM] [-b] [-n [NUMCOLOR]] [-r [GETRESULT]] image
-
positional arguments:
image
: path to image to be processed
-
optional arguments:
-
-h, --help
: show this help message and exit -
-d MAXDIM, --maxDim MAXDIM
: maximum no. of squares in any dimension in the nonogram (default = 80) -
--minDim MINDIM
: minimum no. of squares in any dimension in the nonogram (default = 20).Note if MAXDIM and MINDIM are in conflict (e.g. picture has dimensions 10x50, default max and min dims), then MINDIM will take priority (e.g. in this case the result will be 20x100).
-
-b, --blackAndWhite
: indicate the image should be converted to black and white -
-n [NUMCOLOR], --numColor [NUMCOLOR], --numColour [NUMCOLOR]
: positive integer to denote the number of colors that should appear in your nonogram IN ADDITION to your background color. A 0 or negative integer means the algorithm will choose this number for you. (default = 0) -
-r [GETRESULT], --getResult [GETRESULT]
boolean to indicate whether you want a separate file containing the finished picture (default = True)
-