4 releases
Uses new Rust 2024
| 1.0.0-beta.6 | May 13, 2026 |
|---|---|
| 1.0.0-beta.4 | May 5, 2026 |
| 1.0.0-beta.3 | May 3, 2026 |
#292 in WebAssembly
Used in 3 crates
(2 directly)
1MB
26K
SLoC
pdf-render
PDF page rasterizer in pure Rust — vello-backed rendering, no PDFium, WASM-compatible.
This crate is part of the PDFluent commercial Rust PDF SDK.
Free for evaluation. Production use requires a valid license.
What it does
Rasterizes PDF pages to raster images (PNG, JPEG, raw pixel buffers). Uses vello_cpu for content-stream rendering — no C++ dependency, compiles to WebAssembly, and produces output with high SSIM fidelity vs PDFium on the standard benchmark corpus.
Status
Beta. Median SSIM ~0.98 vs PDFium oracle on the 1000-PDF benchmark; 87% of pages score ≥0.95 (production threshold). Improvement work continues on near-miss cases.
Usage
Most users do not depend on this crate directly. Use the pdfluent facade or pdf-engine:
use pdfluent::prelude::*;
For low-level access, see https://pdfluent.com/docs.
Origin
This crate was forked from hayro by Laurenz Stampfl and has been substantially extended. The original Apache-2.0/MIT-licensed contributions remain attributed; PDFluent extensions are governed by the PDFluent Commercial License. See THIRD_PARTY_LICENSES.txt in the repository root.
Licensing
- Free for evaluation, development, and testing
- Production use requires a valid PDFluent commercial license
- Redistribution requires the OEM Redistribution add-on
See LICENSE for full terms, or visit https://pdfluent.com/terms.
Links
- Main crate: https://crates.io/crates/pdfluent
- Documentation: https://pdfluent.com/docs
- Trial: https://pdfluent.com/trial
- Pricing: https://pdfluent.com/pricing
Dependencies
~25MB
~514K SLoC