5 unstable releases
Uses new Rust 2021
0.20.0 | Oct 22, 2022 |
---|---|
0.19.0 | Jan 15, 2022 |
0.18.2 | Nov 26, 2021 |
0.18.1 | Nov 26, 2021 |
0.18.0 | Nov 19, 2021 |
#12 in Data formats
874 downloads per month
455KB
11K
SLoC
poppler-rs
A high-level (safe) set of Rust bindings for poppler's glib interface.
poppler is a PDF rendering library with a cairo backend.
Usage
There's no nice tutorial or sample code for now: check out the rustdoc to see what types are available.
But generally, usage involves:
- Creating a
Document
, maybe from a&[u8]
slice.- Enumerating pages, rendering them to a cairo surface
Dependencies
~8.5MB
~194K SLoC