#pdf #raster #victor #graphics #cairo #pdftocairo #cousin

deprecated lester

Lester, Victor’s cousin, makes raster graphics

1 unstable release

Uses old Rust 2015

0.0.1 Nov 27, 2016

#38 in #cairo

MIT license

1KB

Lester

Lester, Victor’s cousin, makes raster graphics.

This is a reimplementation of Poppler’s pdftocairo utility program as a Rust library. It loads PDF documents with Poppler and renders (rasterizes) them to in-memory pixel buffers with cairo. It can then export to PNG.

Lester is primarily intended to help test the visual rendering of PDF files generated by Victor. Reimplementing pdftocairo enables skipping the overhead of cross-process communication and image compression/decompression. It also enables extracting (and testing) PDF metadata at the same time as rendering.

Requirements

License

Lester is licensed under either of

at your option.

Programs using Lester dynamically links against Poppler which is licensed under GNU General Public License version 2 or version 3, at your option ([1], [2]). Binaries of these programs are therefore also subject to the terms of the GPL.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Lester by you, as defined in the Apache-2.0 license, shall be dual licensed under MIT / Apache-2.0 as above, without any additional terms or conditions.

No runtime deps