diff options
author | Nick White <git@njw.name> | 2022-03-11 13:36:59 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2022-03-11 13:36:59 +0000 |
commit | 9d1382b69700129a66541d786ba3b784eda56e36 (patch) | |
tree | a1e607d55dbd08b586f528eea07ea15079ed1684 /mkpipeline/main.go | |
parent | d6e1cb61da7a9155023ce9dece96da79c7246790 (diff) |
Add initial support for full-size PDF generation
Some issues:
1) The PDF generation stores every page in memory while it constructs it. That means that
there's a higher chance of failure due to running out of memory with these. There's no
getting around this except by improving the PDF generation library, which is not easy.
2) Currently I've just changed the pipeline to always generate these full size PDFs, and
then the rescribe tool will just delete them if they weren't requested. This is bad in
particular because of point 1, and would probably cause issues of failures in the server
pipeline as a result
Therefore the plan is to add a tag to queue messages so that full size generation can be
selectively enabled.
Also, it should be split from the loop with colour pdf generation, as holding them both in RAM at
the same time is unnecessary.
Diffstat (limited to 'mkpipeline/main.go')
0 files changed, 0 insertions, 0 deletions