This is a quick 30 minutes of programming to add support for creating (and solving) a puzzle from already generated square pieces! Since the algorithm is based on edge matching, this will not work for images with constant/uniform color at most edges, or those that don't fit nicely into squares/rectangles of equal size.
I haven't tested this against the original PhotoSolver so I probably won't merge, but it's here for anyone that wants to hack on it :)
This is a quick 30 minutes of programming to add support for creating (and solving) a puzzle from already generated square pieces! Since the algorithm is based on edge matching, this will not work for images with constant/uniform color at most edges, or those that don't fit nicely into squares/rectangles of equal size.
I haven't tested this against the original PhotoSolver so I probably won't merge, but it's here for anyone that wants to hack on it :)
Signed-off-by: vsoch vsoch@users.noreply.github.com