Puzzle Generator is a macOS Command Line Utility written in Swift. It detects images (.png
or .jpg
) in the current folder and crops them into puzzle pieces.
Download the latest executable from Puzzle-Generator/Releases. Run it with ./Puzzle\ Generator
.
Puzzle Generator supports the JPNG library. Puzzle Generator will export files in the JPNG format if it detects JPNGTool in the current folder.
cal: ~ $ cd Documents/Puzzles
cal: ~/Documents/Puzzles $ ./Puzzle\ Generator
Detected JPNGTool.
Found 89 images in the current directory.
Number of rows? 4
Number of columns? 3
Generating puzzle-A-ahh
2016-12-19 00:59:47.016 JPNGTool[20892:563605] Converted 'GeneratedPuzzles/puzzle-A-ahh/puzzle-A-ahh-row0-col0.png' to JPNG
...