If you have a monochrome image that you want to make a puzzle from, you can use the nonogram command in the package nonogram to generate and test the puzzle. For example, on a UNIX system, suppose that your puzzle image is an X bitmap called wibble.xbm. To convert it to the puzzle format used by nonogram, use:
bmtoa wibble.xbm | nonogram -is -o wibble.non -g
The puzzle is placed in the file wibble.non.
For other formats, pipe the image through convert first:
convert wibble.png xbm:- | bmtoa | nonogram -is -o wibble.non -g