๐Ÿ“ฆ calda / Puzzle-Generator

macOS Command Line tool for generating puzzle pieces from an image

โ˜… 5 stars โ‘‚ 5 forks ๐Ÿ‘ 5 watching
๐Ÿ“ฅ Clone https://github.com/calda/Puzzle-Generator.git
HTTPS git clone https://github.com/calda/Puzzle-Generator.git
SSH git clone git@github.com:calda/Puzzle-Generator.git
CLI gh repo clone calda/Puzzle-Generator
Cal Stephens Cal Stephens Use single image for output in README ba32c4c 9 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ images
๐Ÿ“ Puzzle Generator
๐Ÿ“„ .gitignore
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Puzzle Generator

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.

Example Input

Output (2x2)

Using Puzzle Generator

Download the latest executable from Puzzle-Generator/Releases. Run it with ./Puzzle\ Generator.

JPNG

Puzzle Generator supports the JPNG library. Puzzle Generator will export files in the JPNG format if it detects JPNGTool in the current folder.

Example Configuration

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
...