lovell / sharp-libvips

Packaging scripts to prebuild libvips and its dependencies - you're probably looking for https://github.com/lovell/sharp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Thank you for the update, great to hear you got it working.