I put gen_tiles.py behind a CLI interface using click, and parameterized the depth and rotation options such that you can supply them via the command line.
I parallelized tile creation with a thread pool, since numpy releases the GIL. Also did some refactoring.
I put
gen_tiles.py
behind a CLI interface usingclick
, and parameterized thedepth
androtation
options such that you can supply them via the command line.I parallelized tile creation with a thread pool, since
numpy
releases the GIL. Also did some refactoring.Here's the CLI interface: