How does browser rasterization turn PDF pages into JPG images?
Browser rasterization paints each PDF page onto an offscreen HTML canvas inside your device memory, then encodes those pixels as a compressed JPEG image. Nothing touches a remote server, so 0 bytes of document data leave your machine while pdf.js parses vector paths, fonts, and embedded graphics locally.
Vector instructions versus fixed pixel grids
A PDF stores text outlines, vector curves, and positioned images using resolution-independent coordinates measured in points, where 72 points equal one inch. Turning that page into a JPG freezes the layout onto a fixed grid of colored pixels.
When the page finishes drawing onto the canvas, the browser calls the MDN Web Docs HTMLCanvasElement.toBlob() API using the image/jpeg MIME type. That step produces a standalone binary image without uploading the source document.
Because rasterization flattens every layer on the page into one picture, text and vector shapes become part of the bitmap. If you only need the original photographs embedded inside a report without surrounding text, pull original photos out of a PDF instead.
Why oversized pages cap below 600 DPI
High-resolution rendering multiplies pixel counts quadratically. A standard US Letter page measuring 8.5 by 11 inches renders to 5,100 by 6,600 pixels at 600 DPI, which equals 33,660,000 pixels and fits comfortably in memory.
Large architectural blueprints or multi-foot posters can exceed browser canvas limits at high settings. To avoid out-of-memory errors, the renderer caps each page at 60,000,000 pixels and automatically steps down the effective DPI so the export still finishes cleanly.
Browser engines also enforce maximum single-dimension limits near 16,384 pixels on a side. Keeping the total pixel area below 60,000,000 pixels protects both desktop and mobile tabs from sudden crashes when converting wide engineering sheets.
Choosing resolution presets from 72 DPI to 600 DPI
The Resolution menu controls how many pixels represent each inch of the PDF page. Picking the lowest setting that matches your destination keeps downloads fast and prevents bloated folders on multi-page documents.
| Preset | DPI value | Pixel size (8.5 x 11 in) | Best suited for |
|---|---|---|---|
| Screen | 72 DPI | 612 x 792 px | Web thumbnails and quick previews |
| Standard | 150 DPI | 1,275 x 1,650 px | Everyday screen reading and email |
| 300 DPI | 2,550 x 3,300 px | Home or office printing and OCR | |
| High | 600 DPI | 5,100 x 6,600 px | Fine line drawings and archival zoom |
At 72 DPI, one PDF point maps to one pixel, which makes small body copy look soft when zoomed past 100%. Standard (150 DPI) doubles linear resolution and serves as the default because text stays legible on high-density displays without excessive memory use.
If your goal is to reuse charts or text inside a slide deck rather than flatten them into static pictures, you can turn PDF pages into editable presentation slides. Otherwise, Print (300 DPI) gives crisp edges for physical handouts.
Scanned documents also benefit from 300 DPI when you plan to feed the resulting images into an optical character recognition workflow. Lower settings like 72 DPI blur thin serifs and punctuation, reducing downstream text accuracy.
JPEG quality settings, file size, and PNG trade-offs
The Quality selector adjusts how aggressively the JPEG encoder discards fine color detail during compression. Three presets let you trade file size against visual fidelity without guessing raw numeric parameters.
Balanced compression versus maximum fidelity
Under the hood, Smaller files passes a quality factor of 0.7, Balanced uses 0.85, and Best uses 0.95. Higher values preserve subtle gradients and reduce compression halos around dark text on light paper.
As documented in the Library of Congress JPEG File Interchange Format (JFIF) Specification, JPEG relies on lossy Discrete Cosine Transform compression designed for continuous-tone photographs. Even at 0.95, some high-frequency detail is quantized to keep files compact.
When lossy JPEG beats lossless PNG
Photo-heavy brochures, scanned receipts, and illustrated catalogs compress dramatically smaller as JPGs than as lossless bitmaps. A 20-page photo booklet at 150 DPI and 0.85 quality often stays a fraction of the size of an equivalent PNG bundle.
By contrast, high-contrast screenshots, CAD schematics, and dense spreadsheets can show faint ringing artifacts around sharp black lines in JPEG. When edge precision matters more than storage space, use a lossless PNG image export instead.
Selecting page ranges and packaging multi-page ZIP exports
The Pages input accepts comma-separated page numbers and hyphenated ranges such as 1-3, 7. Leaving the field empty converts every page in the uploaded PDF in order.
When you convert a single page, clicking Convert to JPG saves one file named with the -page-N.jpg suffix directly to your downloads folder. Converting two or more pages bundles every image into a single archive matching the Library of Congress ZIP File Format Specification so your browser does not trigger dozens of separate download prompts.
Tip: Test one representative page with the Pages box before converting a 100-page manual at 300 DPI or 600 DPI. Checking the output dimensions and file size first saves time and memory.
After cropping, annotating, or editing the exported JPEGs in an image editor, you can combine converted JPEG pages back into a PDF with custom margins and page orientation. Everything stays local from the initial PDF read through the final ZIP download.
File naming stays predictable for batch sorting too. Single-page exports append -page-1.jpg to the source filename, while multi-page documents zero-pad page numbers inside the -jpg.zip archive so pages stay in reading order.