Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To convert a PDF page to an image, render that page with a PDF engine. In Python, PyMuPDF uses page.get_pixmap() and pix.save(); Poppler provides the pdftoppm command; Adobe Acrobat offers an export dialog. Choose the page, resolution, color mode, and format for the job—PNG for crisp text and diagrams, JPEG for smaller photographic files, and TIFF or JPEG 2000 for workflows that require them.

Rendering a page versus extracting an embedded picture

A PDF page is a composition of text, vector artwork, and possibly raster images. Rendering draws the complete page into pixels, so the result looks like the page on screen or paper. Extracting recovers image objects that were stored inside the PDF and can omit text, lines, and vector drawings. PyMuPDF’s FAQ puts the distinction plainly: “Vector graphics (line art) cannot be extracted as images directly because they aren’t images in the PDF.” Use rendering when you need a picture of the entire page; use extraction only when you need the original raster assets.

Choose the output settings first

Resolution (DPI)

DPI controls the rendered pixel dimensions. PyMuPDF’s dpi=300 and Poppler’s -r 300 are useful starting points for print or OCR. A lower value is usually adequate for a web preview. Increasing DPI preserves small type and fine lines but increases memory use, pixel dimensions, and file size. Render only the required pages rather than converting an entire long document at 300 DPI.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Format

  • PNG: lossless and usually best for text, screenshots, charts, and line art.
  • JPEG: smaller for photographic pages, but lossy compression can create halos around text.
  • TIFF: common in archival, scanning, and imaging workflows.
  • JPEG 2000: available in Acrobat’s export workflow when that format is required.

Color, transparency, and cropping

Use a colorspace appropriate to the destination (for example, RGB for ordinary screens or grayscale for monochrome OCR). In PyMuPDF, alpha=True preserves transparent empty areas; opaque rendering pre-clears those areas to white. A clip= rectangle renders only a region of the page.

#1 Best Overall
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
  • Scanner type: Document
  • Connectivity technology: USB
  • With Auto Scan Mode, the scanner automatically detects what you're scanning
  • Digitize documents and images

Convert a PDF page to PNG or JPG in Python with PyMuPDF

Install the current PyMuPDF package in the environment where the script will run:

python -m pip install pymupdf

This minimal script converts page 1 (the zero-based index 0) to PNG:

import pymupdf

doc = pymupdf.open("document.pdf")
page = doc[0]                         # PDF page 1
pix = page.get_pixmap()
pix.save("page.png")

The documented recipe produces page-sized output using the identity matrix. To convert a different page, change the index: doc[2] is page 3. Always close the document when processing many files:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
import pymupdf

with pymupdf.open("document.pdf") as doc:
    page = doc[2]                     # page 3
    pix = page.get_pixmap(dpi=300)
    pix.save("page-3.png")

Save one PDF page as JPG

PyMuPDF saves formats supported by the pixmap writer. Use a .jpg filename for JPEG output:

import pymupdf

with pymupdf.open("document.pdf") as doc:
    pix = doc[0].get_pixmap(dpi=200, colorspace=pymupdf.csRGB)
    pix.save("page-1.jpg", jpg_quality=90)

PNG is generally safer for tiny type and diagrams. JPEG quality is a size-versus-artifact trade-off; inspect the result at 100% before publishing.

Crop or preserve transparency

import pymupdf

with pymupdf.open("document.pdf") as doc:
    page = doc[0]
    crop = pymupdf.Rect(72, 72, 540, 720)  # points: left, top, right, bottom
    pix = page.get_pixmap(dpi=300, clip=crop, alpha=True)
    pix.save("cropped.png")

PDF coordinates are measured in points (72 points per inch). A crop is useful for a figure or signature, while alpha=True is useful when the image will be composited over another background.

Rank #2
Sale
Canon CanoScan LiDE 400 Slim Scanner, 7.7" x 14.5" x 0.4", Document & Photo Scanner, Black
  • Enjoy high speed scanning in as fast as 8 seconds, with the included USB Type-C cable. With USB Type-C the Cano scan lied 400 has one cable for data and power.
  • Preserve detailed photos and images thanks to 4800 x 4800 dpi resolution, and with image enhancements, such as color restore and dust removal, Your photos will continue to look great.
  • Enjoy ease of use with 'EZ' Buttons. With auto scan mode, the Scanner automatically detects what you are scanning; built-in PDF buttons, scan and save multi-page pdf's that are editable and searchable
  • Paper size: 8.27 x 11.69, 8.50 x 11.69

Convert every page

import pymupdf

with pymupdf.open("document.pdf") as doc:
    for number, page in enumerate(doc):
        pix = page.get_pixmap(dpi=150)
        pix.save(f"page-{number + 1}.png")

For a large document, process pages one at a time as above instead of retaining all pixmaps in memory.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Convert a selected page with Poppler’s pdftoppm

Poppler’s pdftoppm reads a PDF and writes bitmap files. To render only page 3 to a 300-DPI PNG:

pdftoppm -f 3 -l 3 -png -r 300 input.pdf page

The output is normally named page-3.png. The important switches are:

  • -f sets the first page.
  • -l sets the last page.
  • -r sets X and Y resolution.
  • -png selects PNG in standard Poppler builds.
  • -singlefile writes one page without the numeric suffix (when used with the appropriate page selection).

Check the installed build, because option availability can vary:

pdftoppm -h

For a page range, change the bounds, for example pdftoppm -f 3 -l 7 -png -r 150 input.pdf page. The utility’s documented default resolution is 150 DPI; specify -r when output size matters.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When Poppler is the better choice

Use it in shell scripts, CI jobs, and batch pipelines where a command and explicit page range are easier to operate than a desktop dialog. Add a separate image conversion step if your build does not provide the output format you need.

Rank #3
Sale
Epson Perfection V19 II Flatbed Photo Scanner 4800 dpi Optical Resolution
  • Amazing image clarity and detail — 4800 dpi optical resolution (1), ideal for photo enlargements
  • Epson ScanSmart software included (4) — easily scan photos, artwork, illustrations, books, documents and more
  • One-touch scanning (2) — scan in fewer steps with easy-to-use buttons (2)
  • Restore color to faded photos — with one click, Easy Photo Fix technology makes it simple
  • Scan books and photo albums — high-rise, removable lid

Export a PDF page to an image in Adobe Acrobat

Acrobat’s official export workflow supports JPEG, PNG, TIFF, and JPEG 2000. Open the PDF, choose the PDF export or save-to-other-format command, select the image format, choose a destination, and export. Dialog names and placement differ between Acrobat editions, operating systems, and releases, so follow the labels shown by your installed version. If you need one page rather than the whole document, select or extract that page first, then export.

Acrobat is convenient when you need a visual preview of settings and do not want to install Python or command-line tools. It is less convenient for repeatable batch conversion unless you build an action or use a separate automation workflow.

Which method should you use?

Method Best for Page selection Resolution and color controls Automation
PyMuPDF Python applications, crops, per-page logic Zero-based index, iteration, clip dpi, colorspace, alpha, annotations Strong
pdftoppm Shell scripts and CI -f, -l, -singlefile -r and format switches Strong
Adobe Acrobat Desktop users and occasional exports Selection or extracted page in the UI Export dialog options Limited without additional automation

For a programmable service, PyMuPDF gives the most direct access to crops and per-page decisions. For a one-off conversion, Acrobat may be fastest. For a reproducible Linux command, Poppler is straightforward.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Performance, quality, and reliability notes

  • Estimate output before rendering: a letter-size page at 300 DPI is about 2,550 × 3,300 pixels before any cropping. Higher values can consume substantial memory.
  • Render selectively: page ranges and clip avoid unnecessary work.
  • Keep the source unchanged: write images to a separate directory and preserve the original PDF for re-rendering at another DPI.
  • Validate output: open the image, check the last line of text, thin rules, transparency, and color profile before sending it onward.
  • Encrypted or damaged PDFs: a library may require a password or fail while opening. Obtain the owner password where authorized, repair the source, or export through Acrobat.
  • Annotations: PyMuPDF exposes an annots control; decide whether comments and markups belong in the rendered result.

Troubleshooting common conversion problems

The image is blurry or text is unreadable

Increase DPI, such as from 150 to 300, and keep PNG for text-heavy pages. Do not enlarge a low-resolution image after rendering; rerender from the PDF.

The output has a white background instead of transparency

Use alpha=True in PyMuPDF and save as PNG. JPEG cannot preserve transparency.

Only a photograph appears, not the page text

You extracted an embedded image rather than rendering the page. Render the page with get_pixmap() or pdftoppm.

Rank #4
Sale
Epson Perfection V39 II Flatbed Photo Scanner 4800 dpi Optical Resolution
  • CLEAR, DETAILED PHOTO SCANS — Achieve stand-out image clarity and detail with the Epson Perfection Scanner's 4800 dpi optical resolution1; Quickly enlarge your favorite photos with the help of this hardworking flatbed color scanner
  • IMAGE AND DOCUMENT SCANNER — The versatility you need; Jumpstart your home and office projects with this compact and lightweight picture scanner; Easily scan photos, artwork, illustrations, books, documents, and more
  • ENHANCED SCANNING — Boost your scanning capability and creative projects by seamlessly stitching oversized images together or sending scans to cloud storage services³ with powerful Epson ScanSmart technology² included with this image scanner
  • EFFORTLESS ONE-TOUCH SCANNING — Flatbed scanner allows you to scan documents and images in fewer steps with easy-to-use buttons³ making scanning a breeze; Scan letter-sized documents in as quickly as 10 seconds⁴
  • PHOTO RESTORATION MADE EASY — Restore color to faded photos with one click using Easy Photo Fix technology, ensuring your memories remain vibrant; This scanner for old photos is the simple way to bring new life to your memories

pdftoppm says the option is unknown

Run pdftoppm -h and compare the installed Poppler version’s switches. Some packaged builds differ, particularly around image formats.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The wrong page was converted in Python

PyMuPDF indexes from zero: doc[0] is page 1 and doc[4] is page 5. Confirm len(doc) and bounds before indexing.

The process is slow or runs out of memory

Lower DPI, render one page at a time, use a crop, and avoid storing pixmaps in a list. Large vector pages can legitimately require more CPU and memory.

Or skip the browser setup

If the source is a public web page or hosted document and you need a fresh rendered capture rather than local PDF processing, ScreenshotNeo provides a one-request screenshot API. It accepts consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each cleanup step can be disabled. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the result with X-Page-Verdict and X-Billed headers. Its PDF tools support paper size, margins, landscape mode, and page ranges, while its MCP server exposes take_screenshot, get_page_info, and capture_pdf to Claude, Cursor, and other MCP clients.

Example request (replace the URL and key with your own):

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Equivalent Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
r.raise_for_status()
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`${res.status} ${res.statusText}`);
require('fs').writeFileSync('shot.webp', Buffer.from(await res.arrayBuffer()));

See the parameter details in the ScreenshotNeo documentation. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Create a free ScreenshotNeo account.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

FAQ

Can I convert just a region of a PDF page?

Yes. In PyMuPDF, pass a rectangle through clip=; Poppler and Acrobat workflows generally require cropping after rendering or using a separate crop step.

Best Value
VIISAN 3120 A3 Flatbed Scanner, 1200 DPI, CIS Sensor, Scan 11.7" x 16.7" in 8 sec, Frameless, Auto-Scan, Document & Photo & Book Scanner, Design for Library, School and Soho. Supports Windows & Mac
  • VIISAN 3120 is designed for high-quality scanning of artworks, photos, painting albums, books, magazines, newspapers, CAD drawings, and other large document items up to 304 x 426 mm (11.98" x 16.8") in size. It is ideal for school projects, business work, graphic designing, and digital publishing work. [Power Compatibility:] This A3 flatbed scanner is equipped with a universal power adapter (AC 100–240V, 50/60Hz, 12V/2A), making it fully compatible with standard voltage requirements in the United States and most countries worldwide. Simply plug it in and use it with confidence—no special converters or additional accessories needed.
  • The VF3120 flatbed scanner offers the fastest scanning speed of 8 sec (200dpi, A3-size color). It also provides a maximum optical resolution of 1200 x 1200 dpi which delivers a color depth of 48-bit vivid true-to-life image and realizes smoother and more detailed color gradients and variations
  • The Auto-Scan function enables the scanner to scan automatically when the scanner lid is closed. It enhances the efficiency of the continuous scanning process. and LED Light Source, Save Energy, No Warm-Up Time, No More Waiting
  • The VF3120 features in frameless and narrow boundary design which allows to scanning of large documents, photo albums, books, magazines, and thick items. It helps you work efficiently with four-panel buttons enabling scan, email, print, and even create a single or multipage PDF. All in a snap. (Note: The A3 flatbed uses a CIS sensor that can only scan flat paper images, not three-dimensional items. Otherwise, it will lead to unclear or blurred scanning results. So it is not recommended to scan clothes or CDs, acrylic sleeves, etc.)
  • Compatible with Windows TWAIN, WIA, and MacOS ICA drivers. WIA only supports 600 dpi. Support Windows 7/8.1/10/11 and MacOS 10.15 or later for Image Capture (ICA) driver only. Note: To scan images at 1200 dpi, please use our supplied ViiScan software. It can scan up to 1200x1200 DPI for full-size A3 documents on Windows OS. For MacOS, the VF3120 scanner software can achieve 1200 dpi for a full-size A3 document. Regarding WIA, we currently only support scanning up to 600 dpi due to limitations imposed by Microsoft

What DPI should I use for OCR?

Start at 300 DPI, then adjust based on character size and the OCR engine. Higher DPI is not automatically more accurate if the source PDF has poor-quality imagery.

Does rendering change the PDF’s text?

No. Rendering creates a separate raster image and leaves the source PDF untouched.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Can I convert just a region of a PDF page?

Yes. In PyMuPDF, pass a rectangle through clip=; Poppler and Acrobat workflows generally require cropping after rendering or using a separate crop step.

What DPI should I use for OCR?

Start at 300 DPI, then adjust based on character size and the OCR engine. Higher DPI is not automatically more accurate if the source PDF has poor-quality imagery.

Does rendering change the PDF’s text?

No. Rendering creates a separate raster image and leaves the source PDF untouched.

Quick Recap

Bestseller No. 1
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00
SaleBestseller No. 2
SaleBestseller No. 3
Epson Perfection V19 II Flatbed Photo Scanner 4800 dpi Optical Resolution
Epson Perfection V19 II Flatbed Photo Scanner 4800 dpi Optical Resolution
One-touch scanning (2) — scan in fewer steps with easy-to-use buttons (2); Scan books and photo albums — high-rise, removable lid
$70.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.