Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Chapter PDF download #310

Open
ponchofiesta opened this issue Jun 25, 2019 · 1 comment
Open

Chapter PDF download #310

ponchofiesta opened this issue Jun 25, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@ponchofiesta
Copy link
Contributor

PDF files containing single chapters should be generated. Kitodo.Presentation provides this feature via the basket. Some Presentation/Goobi Viewer instances provide this download link directly in the table of contents.

Actually the Mediaserver preproduces PDF files of the whole work via an action. Preproduction of all chapters would lead to a huge waste of memory. It might be a solution to preproduce the JPEG images or the single-page PDF files instead. The full PDF or chapter PDF could than be generated faster on demand. Another way could be to cut the needed chapter out of the full PDF. But this would lead to a second path of PDF generation.

@ponchofiesta ponchofiesta added the enhancement New feature or request label Jun 25, 2019
@ponchofiesta
Copy link
Contributor Author

ponchofiesta commented Aug 6, 2019

A first comparison of a 372 pages document.

  • Create PDF from TIFFs: 2:35 min
  • Create PDF from preproduced JPEGs: 20 sec
  • Create PDF from preproduced PDF pages: 1 sec

So the best way is to preproduce PDF pages. This should be fast enough in all scenarios to build the full PDF, chapter PDFs and perhaps others on the fly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant