A slide to use in a document
Format: PNG Resolution: Standard (150 dpi) Pages: 4
Slides have big text and flat colors, so PNG stays sharp at a reasonable size.
Save PDF pages as PNG images with crisp text and clean lines, at the resolution you choose.
Last updated
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
PNG is lossless, so it keeps the hard edges of text, charts and diagrams exactly. JPG shrinks files by blurring tiny details, which looks fine in a photo and looks smudgy around letters. That is why a PDF to PNG conversion is the better pick for documents, slides and screenshots.
The price is size. A PNG of a full page is usually larger than the JPG of the same page, and a page full of photos can be much larger. A simple page of black text on white compresses well in PNG, so the difference there can be small. Pages are drawn on a white background, so PNG here does not give you transparency.
The tool draws the pages in your browser. Your files are never uploaded: the work happens in your browser, so nothing leaves your device. Pick the resolution (72, 150 or 300 dpi), choose the pages, and download one image or a ZIP.
Drop the file on the page or choose it. If it needs a password, type it.
PNG is already selected here. You can switch to JPG any time.
Pick Screen, Standard or High, then click pages or type ranges like 2-4.
Press Convert to PNG. One page is one image, several pages are a ZIP.
Which format fits which kind of page.
| Page contains | Better format | Why |
|---|---|---|
| Mostly text | PNG | Letters stay sharp, and plain pages compress well |
| Charts, diagrams, line art | PNG | Thin lines and flat colors stay clean |
| Screenshots | PNG | Small text and interface edges stay clear |
| Photos | JPG | Much smaller files, and the loss is hard to see |
| Scanned pages | JPG | A scan is a photo, so PNG is large with no gain |
Format: PNG Resolution: Standard (150 dpi) Pages: 4
Slides have big text and flat colors, so PNG stays sharp at a reasonable size.
Format: PNG Resolution: High (300 dpi) Pages: 1
Thin lines survive best at a high dpi in a lossless format. Expect a larger file.
import pymupdf
doc = pymupdf.open("slides.pdf")doc[0].get_pixmap(dpi=150).save("slide-1.png")get_pixmap renders the first page at 150 dpi and save writes it as a PNG, picked by the file name.
For pages with text, line art or screenshots, yes: edges stay sharp. For photos, JPG gives much smaller files with little visible loss.
PNG keeps every pixel exactly, while JPG discards fine detail. A page with photos shows the biggest gap.
No. Pages are drawn on a white background, so the PNG has no transparency.
150 dpi suits screens and documents. Choose 300 dpi for print or fine lines, and 72 dpi for a small preview.
No. The conversion runs in your browser and the file stays on your device.