-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better PDF/CBR/CBZ/EPUB generation ? #460
Comments
Split this enhancement request in 2 separate ones:
|
Note : good old PDFKit got the problem with PNG + it cant handle WEBP, which are major problems. |
To the best of my knowledge the latest version of PDF specs (2020) does still not include support for WebP, therefore it has to be converted to PNG/JPEG. |
maybe this can help for PDF libraries: https://byby.dev/js-pdf-libs |
this doesn't solve the volume (it's not related to the pdf lib but to the way we decide to put content in it). |
you can use Pillow library to convert from various image formats. Then use ReportLab or PyMuPDF to create the pdf which also support various formats including WEBP if Pillow doesn't work for you. Edit: now I see that I suggested a solution for python not typescript. but if you can integrate it maybe it will help idk |
See: 2c3f5a7#diff-694ec51ee160ab7e75fb3ed61f3d78d958e3d09a1788c1731a149f13b3c3fa31 Merging multiple chapters would be a massive effort since existing PDF, EPUB, CBZ needs a mechanism to integrate new images into the existing containers while dealing with the correct order. |
Ofc we aint gonna guess which chapters for which volume. User select downloaded chapters from the UI, right click, generate => PDF.
The text was updated successfully, but these errors were encountered: