Open dlenski opened 5 years ago
Hi Dan
I am afraid I can't really help with this. I don't actively use treepoem any more. Would you like to become a maintainer?
Adam
Ah, too bad! Yes, that would be useful… though it also means I'll have to figure out all the problems on my own :joy:
I've invited you as a collaborator on GitHub. If you don't mind I'll still keep doing maintenance work like updating the requirements and doing releases, but other than that feel free to make code changes, I'll try make myself available to review PR's.
But yes enjoy trying to make the optimization of a single ghostscript, it would be a big performance boost.
I'm more actively maintaining treepoem now. I just merged #499 which removes using the PIL EPS plugin to run Ghostscript, so now treepoem is the only thing running Ghostscript.
From here I think we may be able to move to a single process model. There may be some difficulty as the bounding box template and rendering postscript templates use different headers.
I'm trying to figure out whether there's a reasonable way to generate multiple barcode images without reopening the
gs
subprocess and reinterpreting the BWIPP source — which are rather "heavyweight" and slow operations.It seems like this should be eminently possible. See below:
./multi_barcode.py
(run asmulti_barcode.py "bc1" "bc2" ...
.Problems I'm having:
eps2write
driver doesn't like switching output files.