Overview of pdfium-render
masterpdfium-render provides an idiomatic high-level Rust interface to Pdfium, the C++ PDF library used by Google Chromium. It allows you to:
- Render PDF pages to bitmaps.
- Load, edit, and extract text and images from existing PDFs.
- Create new PDF files from scratch.
Unlike many bindings, pdfium-render binds to the Pdfium library at run-time. This allows you to choose between system-provided or bundled libraries and enables compiling Rust applications to WASM to run in a browser alongside a WASM-packaged build of Pdfium.
use pdfium_render::prelude::*;