pdf-render 1.0.0-beta.3

A PDF rasterizer in pure Rust.
Documentation

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