Pdfium include in build script?
talberkoMelio opened this issue · comments
Hi,
Do you have an example of how to build it with pdfium? I didnt find it in the build script.
Thanks
Please see https://github.com/libvips/libvips#pdfium - sadly I cannot help you with pdfium so good luck.
@lovell it probably out of scope, but I am using Sharp with poppler for converting pdf to jpeg, the toBuffer
command takes about ~25sec, so I thought maybe I should use pdfium instead of poppler. Do you know if compiling with pdfium may improve the performance over poppler?
The command I run for the PDF to jpeg:
sharp(buffer, { page }).jpeg().toBuffer()
I also cannot help with Poppler - good luck.
Here is how I managed to make it work: main...bru02:sharp-libvips:main#diff-15fe4217ccf5f305b4bb5645dadf5970e32ed9d45d0366118a76376f8d0e1eae
Thank you for the update, great to hear you got it working.