[poppler] Best API?
Adrián Pérez de Castro
aperez at igalia.com
Tue Jun 14 14:05:58 UTC 2016
Hello Georg,
Quoting Georg Funk (2016-06-14 15:30:29)
> Dear poppler developers,
>
> which is currently the best API to develope with poppler?
The recommended way is to use one of the high-level APIs. Documentation for
them is linked from https://freedesktop.org/wiki/Software/poppler/
* Poppler in implemented in C++, so if your application is done in plain C,
the GLib API is your only option. Note that the GLib API is also available
via GObject-Introspection (GI), so it is possible to use it from Python,
Lua, JavaScript and other languages supported by GI.
* If your application is implemented in C++ and you use Qt, please do use
the Qt4 or Qt5 API (depending on the version you are using).
* If your application is plain C++ (no Qt), please avoid using the low-level
C++ API and use the high-level one instead [1].
Note that the low-level C++ API from libpoppler is purposefully undocumented
because it is not guaranteed to be stable, and the developers consider it an
implementation detail — not that there aren't applications using it, but be
aware that it may change in future versions of Poppler!
I hope the above summary will help you decide.
Cheers,
--
☛ Adrián
[1] http://marpirk.github.io/poppler-cpp-doc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20160614/ae7f4b32/attachment.sig>
More information about the poppler
mailing list