Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

How to Convert Documents to Images: PDF-to-PNG and JPEG

Convert office files to page images by exporting to PDF first, then rasterizing with ImageMagick. Choose page ranges, format, and resolution for the intended use.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a faithful image of a word-processing document, spreadsheet, presentation, or PDF, first export it to PDF, then rasterize each PDF page to PNG or JPEG. This two-step workflow preserves the page layout more reliably than trying to turn different document formats directly into images, and it works for a whole document or a selected page range.

Choose a workflow that fits your document

There is no single conversion procedure for every file type and operating system. For files created in an office application, use that application to export a PDF, then use an image tool to render the PDF pages. This separates layout handling from image conversion: the office application lays out the pages, and the rasterizer creates image files.

As an Amazon Associate I earn from qualifying purchases.

Need Practical route
Convert a word-processing file, spreadsheet, or presentation Open it in its authoring application and export to PDF, then rasterize the PDF.
Convert an existing PDF Rasterize the PDF directly with a tool that can read PDF files.
Convert only some pages Select the pages during PDF export, if supported, or specify a page range in the rasterizing tool.
Repeat conversions or process many files Use a command-line workflow, and verify page ranges, output names, dependencies, and rendered results.

LibreOffice documents PDF export options for choosing all pages, specified pages, or a selection, along with image-compression and resolution controls. LibreOffice PDF Export General help

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

Export an office document to PDF

  1. Open the source file in the application used to create or edit it. Check that page breaks, margins, fonts, tables, and images look right before exporting.

    #1 Best Overall
    Sale
    Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner | For Computers including PC and Mac Receipt and Document Scanner USB Powered
    • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
    • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
    • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
    • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
    • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0
  2. In LibreOffice, open the PDF export options and choose whether to export all pages, specified pages, or a selection. The exact controls and available options can vary with the document type and application version.

  3. Choose the PDF image settings. LibreOffice offers lossless compression and JPEG compression controls, including quality and target image resolution. JPEG quality is a trade-off: lower quality can reduce file size but discards pixel information and can introduce visible artifacts.

  4. Export the PDF, then open or inspect it to confirm the intended pages and layout are present before converting it to images.

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

The Document Foundation’s LibreOffice 25.2 Getting Started Guide says that resolutions at or below 100 DPI may be sufficient for computer-screen viewing, while print may call for at least 300 or 600 DPI depending on printer capability. These are guide recommendations, not universal requirements. Higher resolution creates more pixels and generally increases file size.

Rank #2
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)

Rasterize PDF pages with ImageMagick

ImageMagick can render PDF input to image formats, but it requires Ghostscript to read PDF files. Install ImageMagick and Ghostscript for your operating system before running a conversion. Refer to the ImageMagick format reference for PDF support and rendering notes, and the ImageMagick command-line options for density and page-related options.

A basic command to render all pages as PNG files is:

magick -density 150 input.pdf page.png

The density setting affects how the PDF is rendered into pixels. The example uses 150 DPI as a starting value, not a universal recommendation. For print-oriented output, choose a resolution appropriate to the intended printer and document; for screen use, a lower resolution may be adequate. Review the resulting pixel dimensions and readability rather than relying on the number alone.

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

To render a chosen PDF page, ImageMagick uses page selectors in the input filename. For example, to render the first page:

Rank #3
Sale
Epson Workforce ES-400 II High-Speed Color Duplex Desktop Document Scanner | For Computers including PC and Mac with Auto Document Feeder and Image Adjustment Tools
  • FAST DOCUMENT SCANNING — Document scanner with feeder allows you to speed through stacks with a 50-sheet Auto Document Feeder (ADF); Efficient office scanner to help you scan more productively
  • INTUITIVE, HIGH-SPEED SOFTWARE — Quickly scan with this desktop document scanner; Epson ScanSmart Software lets you easily preview scans, email files, upload to the cloud, and more; Plus, automatic file naming saves even more time
  • SEAMLESS INTEGRATION — Easily incorporate your data into most document management software with the included TWAIN driver; Office document scanner integrates seamlessly with business workflows
  • EASY SHARING — Duplex scanner allows you to scan straight to email or popular cloud storage2 services like Dropbox, Evernote, Google Drive, and OneDrive for simple storage and sharing
  • SIMPLE FILE MANAGEMENT — Scanner allows the creation of searchable PDFs with Optical Character Recognition (OCR) and convert scans to editable Word or Excel files effortlessly; Designed for home and office document scanning

magick -density 150 input.pdf[0] page-1.png

PDF page selectors are zero-based in ImageMagick: [0] refers to the first page. Check the ImageMagick documentation for the syntax applicable to the version installed if you need a range or a different selection.

Choose PNG, JPEG, and resolution deliberately

PNG for text and crisp edges

PNG is a sensible default for text-heavy pages, diagrams, and line art when avoiding lossy compression matters. It can preserve sharp edges without the compression artifacts that JPEG may introduce.

JPEG when smaller files matter

JPEG can be useful for pages dominated by photographs or when smaller files are more important than perfect pixel preservation. Compression may make text edges and fine detail look worse, especially at lower quality settings.

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

Set resolution for the destination

Choose a rendering resolution based on whether the image is intended for a screen, print, or another downstream system. More DPI means more pixels for the same physical page size, which can improve detail but also increases image dimensions and storage needs. Avoid treating any one DPI value as universally correct.

Rank #4
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

ImageMagick notes that only some image formats—including JPEG, PNG, and TIFF—can store resolution metadata. Its -resample option changes pixel dimensions to preserve rendered physical size at a specified resolution; it is not the same as merely changing metadata. See the ImageMagick command-line options reference.

Check page boundaries and output quality

ImageMagick uses a PDF’s MediaBox by default. A PDF may also have a smaller CropBox or TrimBox that represents the intended visible or trimmed page boundary. If the default rendering includes unwanted margins or content, configure the appropriate box using the options documented by ImageMagick, then inspect the result.

  • Confirm that every expected PDF page produced an image and that files are in the correct order.
  • Check page edges for clipped content, extra margins, or unwanted marks.
  • Zoom in on small text, thin lines, tables, and diagrams at the image’s intended display size.
  • Compare the images with the PDF, especially if the source includes unusual fonts, transparency, or complex layout.
  • Check file dimensions and sizes against the needs of the destination.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Common conversion problems

ImageMagick cannot read the PDF

PDF reading requires Ghostscript. Install it and ensure ImageMagick can use it; then retry. The ImageMagick format reference describes PDF as a supported input format with this dependency: ImageMagick Image Formats.

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

The image has unexpected margins or clipped content

ImageMagick renders the MediaBox by default. If the document’s CropBox or TrimBox is the intended boundary, select that box using the documented option and render again. Inspect the page edges after changing the setting.

Best Value
Sale
ScanSnap iX2500 Wireless or USB High-Speed Document Scanner, Black | Cloud Enabled | Photos & Receipts | Large Touchscreen | 100 page Auto Document Feeder | Mac or PC
  • OUR MOST ADVANCED SCANSNAP. Large touchscreen, fast 45ppm double-sided scanning, 100-sheet document feeder, Wi-Fi and USB connectivity, automatic optimizations, and support for cloud services. Upgraded replacement for the discontinued iX1600
  • CUSTOMIZABLE. SHARABLE. Select personalized profiles from the touchscreen. Send to PC, Mac, mobile devices, and clouds. QUICK MENU lets you quickly scan-drag-drop to your favorite computer apps
  • STABLE WIRELESS OR USB CONNECTION. Built-in Wi-Fi 6 for the fastest and most secure scanning. Connect to smart devices or cloud services without a computer. USB-C connection also available
  • PHOTO AND DOCUMENT ORGANIZATION MADE EFFORTLESS. Easily manage, edit, and use scanned data from documents, receipts, photos, and business cards. Automatically optimize, name, and sort files
  • AVOIDS PAPER JAMS AND DAMAGE. Features a brake roller system to feed paper smoothly, a multi-feed sensor that detects pages stuck together, and skew detection to prevent paper damage and data loss

Text looks soft or pixelated

The PDF may have been rendered at too low a density for the intended display or print size. Render again at a suitable density and compare both readability and file size. Higher density does not repair layout errors in the source PDF.

JPEG output has artifacts

JPEG is lossy. Increase its quality setting or use PNG where preserving text edges and line art is more important than reducing file size.

Text is no longer selectable

That is expected: a rasterized page is an image, not structured document text. Keep the original document or PDF if you need searchable text, accessibility structure, or editable content. LibreOffice documents tagged and PDF/UA export options; PNG and JPEG files do not replace those structured-document features. LibreOffice PDF Export General help

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.

Or skip the browser setup

If what you need is an image of a web page rather than a document file, ScreenshotNeo is a website screenshot API and MCP server for developers. A single GET request returns a PNG, JPEG, WebP, or PDF; it does not replace the PDF-to-image workflow above for office documents.

For example, save a website screenshot as WebP with cURL:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation for request options. ScreenshotNeo accepts cookie or consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers identify the page verdict and billing status. Its MCP server includes take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots.

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

Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month with no card.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.