Back to all posts
Documents6 min readBy MegaConvert Editorial

Converting PDF to images (PNG, JPG, TIFF): when to render each page as which format

Sometimes you need a PDF as a sequence of images — for thumbnails, for slide previews, for systems that don't render PDFs natively. A practical guide to choosing PNG, JPG, or TIFF depending on what the images are for.

Converting PDF to images means rendering each page of the PDF as a separate raster image — PNG, JPG, or TIFF, typically. It's a useful step when the destination platform can't render PDFs (older email clients, certain CMS uploaders, image-only social media), when you need a thumbnail, or when you're feeding pages into an image-processing pipeline (OCR, computer vision, photo-album printing).

The conversion is straightforward in mechanics — render each page at a chosen DPI, save as the chosen image format — but the choices of DPI and format matter for the result. This guide walks through the trade-offs.

Choosing the right DPI

DPI (dots per inch) determines the resolution of the rendered image. A standard PDF page is 8.5×11 inches (US Letter) or close to A4. Rendering at 72 DPI gives you a 612×792 pixel image — about screen resolution, fine for thumbnails. Rendering at 300 DPI gives you a 2550×3300 pixel image — print quality, suitable for printing or detailed inspection. Rendering at 600 DPI gives you a 5100×6600 pixel image — high-quality print, archival, or further image processing.

Higher DPI means larger files. A 300 DPI PNG of a typical PDF page is several megabytes; a 600 DPI version is 10+ MB. Pick the lowest DPI that's good enough for your use case. For email-embedded thumbnails, 100 DPI is usually fine. For viewing on screen, 150-200 DPI. For printing, 300 DPI minimum.

PNG: the best general-purpose choice

PNG is lossless — it preserves the exact pixels of the rendered page. For PDF pages that contain text, line drawings, charts, or any sharp-edged content, PNG produces the cleanest result. There's no JPEG compression to soften edges or introduce artifacts around text.

Use PNG when: the PDF pages contain primarily text, diagrams, or graphics; you're going to do further image processing on the pages (PNG is friendlier to algorithms because it has no compression artifacts to confuse them); the destination platform supports PNG (essentially universal in 2026); file size isn't a primary constraint.

MegaConvert's PDF-to-PNG default is 200 DPI, which produces sharp images at reasonable file sizes. Adjust upward for archival or print contexts.

JPG: when file size matters more than fidelity

JPG (JPEG) is lossy — it produces files several times smaller than equivalent PNG by discarding subtle detail. For PDF pages that contain primarily photographs, full-bleed images, or photographic content, JPG is a reasonable choice and the lossy compression is essentially invisible. For pages with text, JPG introduces visible 'mosquito' noise around character edges that gets worse at lower quality settings.

Use JPG when: the PDF pages are dominated by photographic content; file size is a meaningful constraint (email attachments, web upload limits); you're producing thumbnails where small artifacts won't be noticeable; the destination platform prefers JPG.

Avoid JPG for: pages dominated by text or line drawings (PNG produces sharper results); archival use (PNG is lossless); any further image processing where compression artifacts could confuse algorithms.

TIFF: the archival choice

TIFF is a flexible lossless format used heavily in print, archival, and document-management workflows. A TIFF can hold one image per file or multiple pages in a single file (multi-page TIFF), making it a natural mirror of PDF's page model. TIFFs can be uncompressed (largest), LZW-compressed (lossless, smaller), or JPEG-compressed (effectively lossy, smaller still).

Use TIFF when: you're producing files for an archival or document-management system that expects TIFF; you're feeding the pages into a document-imaging pipeline (medical imaging, government records, certain enterprise document management systems); you need multi-page support in a single file (PDF is usually a better choice here unless the destination demands TIFF specifically).

TIFF is overkill for most general-purpose uses. PNG offers similar quality with much better compatibility outside specialised contexts.

Choosing how many pages to render

By default, PDF-to-image conversion produces one image file per PDF page. For a 50-page document, that's 50 PNGs. The output is typically delivered as a ZIP archive containing all the page images.

If you only need a specific page or range of pages, specify it during conversion: 'pages 1-3', 'page 5 only', etc. Most tools support this and it's much faster than converting the whole document and discarding most of the output.

If you want a single composite image of all pages stacked vertically (useful for one-shot social media posts), some tools support that as a separate option. The result is a tall image rather than a series of separate ones.

Preserving text by going via OCR

If the original PDF has real text, that text is normally selectable and searchable. Converting to PNG/JPG/TIFF flattens it into pixels — the resulting images are no longer text-searchable. If you need both image output and searchability, the right approach is to keep the PDF (which has both pixel and text layers) and only generate images for specific use cases that require image format.

Going the other direction (image to text via OCR) is covered in our OCR primer. If your PDF was already a scanned document and you want to extract editable text, OCR is the missing step — the image conversion alone doesn't help.

The right format for the right use

  • Email-embedded thumbnails: JPG at 100 DPI.
  • Web preview / social media post: PNG at 150 DPI.
  • Print or detailed inspection: PNG at 300 DPI.
  • Archival / document-management ingest: TIFF at 300+ DPI.
  • Computer vision / further processing: PNG at the resolution your algorithm expects.

PDF to PNG, PDF to JPG, or PDF to TIFF — free, page-by-page or specific ranges, output delivered as a ZIP.

Continue reading

More guides on file formats and conversion.