Native PDF rasterization

PDF Raster

@omsimos/pdf-raster is a native PDF-to-images library for Node.js and Bun. It turns PDFs into encoded page images through a small server-side API for backend and document workflows.

Current sample run

4x-8x

Faster than the included `pdfjs-dist` canvas backends in the local benchmark sample.

Native

Rust + PDFium under a small JS API

Use one server-side package surface while keeping rendering native and fast.

Formats

PNG by default, JPEG and WebP when needed

Choose the output format that fits preview delivery, storage, or downstream image transport.

Usage

Built for backend document workflows

Use it in route handlers, batch jobs, queues, OCR pipelines, preview services, or multimodal ingestion.