First off, thanks for this awesome script! It really helped me out :smile:
The main purpose of this PR is to take advantage of multi-core CPUs with python's multiprocessing library. This results in significant speed improvements for rendering multiple files or colors. The number of processes to be used can be specified with the -C or --cores arguments. Additionally I also fixed/improved the following things along the way:
added the gitignore so python cache files won't be uploaded
fixed a bug where the isolated temporary file would not be deleted
moved all temporary files to the system temporary directory so they don't accidentally overwrite anything
First off, thanks for this awesome script! It really helped me out :smile:
The main purpose of this PR is to take advantage of multi-core CPUs with python's multiprocessing library. This results in significant speed improvements for rendering multiple files or colors. The number of processes to be used can be specified with the
-C
or--cores
arguments. Additionally I also fixed/improved the following things along the way: