tuub / kitodo-mediaserver

Kitodo Mediaserver
GNU General Public License v3.0
7 stars 6 forks source link

Chapter PDF download #310

Open ponchofiesta opened 5 years ago

ponchofiesta commented 5 years ago

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 commented 5 years ago

A first comparison of a 372 pages document.

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.