DevTools Logo
All posts

PDF to Images: DPI, Page Ranges and a Self-Hosted Rendering Engine

August 22, 2026 · DevTools

pdf
images
converter
pdfjs

PDF to Images: DPI, Page Ranges and a Self-Hosted Rendering Engine

Slides for a blog post, a form excerpt for chat, a diagram for a deck — PDFs are great to read and awkward to reuse. The PDF to Image Converter rasterizes pages to PNG or JPG entirely in your browser.

DPI is the whole quality story

PDF content is vector; pixels only exist at render time. The scale factor is simply DPI ÷ 72 (PDF user units are 72/inch):

  • 72 DPI — screen viewing, smallest files
  • 150 DPI — web publishing and slides, the sensible default
  • 300 DPI — print quality, roughly 4× the pixels of 150

One subtlety the tool handles for you: JPEG has no alpha channel, so transparent PDF art gets a white paper painted underneath before export — otherwise dark-mode viewers render black-on-black.

The range syntax saves clicks

1-3,5,8- converts pages one to three, page five, and everything from page eight to the end. Ranges are validated against the actual page count, duplicates collapse, and the field left empty means all pages. For a 60-slide deck where you need the section openers, this is the difference between sixty downloads and six.

Self-hosted engine, private by construction

Rendering uses pdf.js with its worker served from this site itself — no CDN, no external calls. The PDF is parsed and drawn inside your tab; the document bytes never travel. Per-page progress streams while rendering, and the results grid lets you grab individual pages or everything at once.

Limits worth knowing

  • Password-protected PDFs are rejected with a clear error (decrypt first with the document's own tool).
  • Scanned PDFs are images inside a PDF — converting them just extracts those images; text extraction is OCR territory, which is exactly what the OCR extractor does.

Going the other way? The Image to PDF Converter reassembles images into a document.