You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 26, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 26, 2026. It is now read-only.
Converting a PDF that contains 150+ pages takes more than 10+ min.
It would be great if we could skip some feature, like for example css ,script and style.
There is already an issue about creating a progress callback feature, it would be great if you could also add convertlight or something,
that will skip some tasks that a developer do not want.
When I convert the pdf to html, I am trying to create an ebook with it. And that is why I would not care about style as I already have my own.
I would rewrite all the text and would not care about style etc..
For reference About what I mean, please read stackoverflow
I think there is quite some optimization potential with pdf2htmlEX which is not utilized yet. one thing is the compression level or resolution of the bitmap the PDF is rendered into. the other thing is doing the rendering async and on demand e.g. you can scroll through the document and the pages appear one after the other
Activity
andiwand commentedon Jul 30, 2022
I think there is quite some optimization potential with pdf2htmlEX which is not utilized yet. one thing is the compression level or resolution of the bitmap the PDF is rendered into. the other thing is doing the rendering async and on demand e.g. you can scroll through the document and the pages appear one after the other
ViliusSutkus89 commentedon Aug 3, 2022
pdf2htmlEX has some input parameters (arguments) that could be tweaked.
https://github.com/ViliusSutkus89/pdf2htmlEX-Android/blob/c033ea89e1920e06ab1bc31dfc64158644d4f68f/dependency-builder/src/main/cpp/packages/pdf2htmlEX-Patch-Source-make-a-library.patch#L476
I'll expose them in Java interface.
AlenToma commentedon Aug 3, 2022
@ViliusSutkus89 that is greet, in mean time could you please look after this problem https://stackoverflow.com/questions/73210045/converting-image-to-bas64string-in-react-native-android-sdk-using-pdfbox?noredirect=1#comment129297775_73210045
as I have tried to create solution for my application.