Closed kuraga closed 2 years ago
It is, but optional - depending how you link libpoppler - if you link to system wide library then pkg-config is used. Not exactly sure when it installs, but it's usually included if you install development dependencies. I guess we can mention it in README? Can you submit PR?
No, sorry, I don't know internals. Feel free to close.
Check this fork which works both on Linux and Mac: https://github.com/rossumai/pdfparser (+ installation instructions and brew formulas/deb packages for poppler).
Anyway pdfparser uses a deprecated internal API (xpdf & cairo) for poppler and there's a better alternative which uses the CPP API and is much faster for both image rendering and text extraction: https://pypi.org/project/python-poppler/
This solved the problem (but wasn't found in documentation):