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
Thank you soo much for your work with this. I'm regularly rendering PDF pages to jpg/png and I'm always on the hunt for better/faster/nicer tools.
The only OSS tool I have found to render consistent and nice JPG files from PDFs with vector graphics (CAD drawings) is pdf2cairo from poppler-utils.
I'm already using sharp for other tasks, so I was thrilled to find your wrapper for pdfium and that you sugges sharp as well.
Your library seems to work very well after some testing, but it is about 50% slower than pdf2cairo. Do you think that this speed difference is due to pdfium being slower than pdf2cairo or maybe pdfium does a better job with some PDFs?
The text was updated successfully, but these errors were encountered:
Under the hood this library uses pdfium (developed by Chrome team) compiled to wasm. And wasm version definetly can be slower than native version. In theory pdfium should faster than poppler. Also keep in mind that this library uses blocking calls, so if you are trying concurrently test peformance, it can lead to wrong results
Thank you soo much for your work with this. I'm regularly rendering PDF pages to jpg/png and I'm always on the hunt for better/faster/nicer tools.
The only OSS tool I have found to render consistent and nice JPG files from PDFs with vector graphics (CAD drawings) is pdf2cairo from poppler-utils.
I'm already using sharp for other tasks, so I was thrilled to find your wrapper for pdfium and that you sugges sharp as well.
Your library seems to work very well after some testing, but it is about 50% slower than pdf2cairo. Do you think that this speed difference is due to pdfium being slower than pdf2cairo or maybe pdfium does a better job with some PDFs?
The text was updated successfully, but these errors were encountered: