Movatterモバイル変換


[0]ホーム

URL:


How-To Geek logo

How to Extract Images from PDF Files

Icon for a PDF file.Credit: Corbin Davenport / Adobe
4
4
By Corbin Davenport & Mahesh Makvana
Updated 
Sign in to yourHow-To Geek account
Jump links

Jump Links

follow
Follow
followed
Followed
Thread8
Here is a fact-based summary of the story contents:
Try something different:

Portable Document Format (PDF) files can contain images, but extracting those images for use in other applications is an annoying process. Here are a few ways to do it across Windows, Mac, and desktop Linux.

Extract Images With Adobe Acrobat Reader (Windows, Mac)

If you have a Windows PC or Mac, you can use the free Adobe Acrobat Reader to select images inPDF files and copy them to the clipboard. Acrobat Reader may also work on Linux systemsusing compatibility layers like CrossOver, but Linux systems are better off using one of the other methods listed below.

First,download Acrobat Reader from Adobe’s website and follow the installation instructions. After it’s installed, open your PDF in Reader, either from the File > Open menu or any other method.

Next, click the ‘Select’ tool near the top of the window, which has a mouse pointer icon. It may already be selected by default.

Select tool in Adobe Acrobat Reader

Find the image you want to extract, then click it and select the Copy button in the toolbar. You can also right-click the image and select the ‘Copy image’ menu option. This will copy the image to your system’s clipboard. You can now paste the image in another application.

Copy image button

If you want to save the image to a file on Windows, open Paint from the Start Menu, then press Ctrl+V or select Edit > Paste. With the pasted area still selected, click the crop button in the toolbar (or use the Ctrl+Shift+X keyboard shortcut) to remove extra space from the image area. Finally, open the File > Save As menu to save the image in the format you want.

Paste image in Windows Paint

If you’re on a Mac and you want to save the image to a file, open Preview from the Launchpad or by searching “Preview” in the Spotlight search. In the menu bar, select File > New from Clipboard. Finally, select File > Save from the menu bar and select where you want to save the file.

New image in Preview from clipboard

This is a cumbersome process, especially for multiple images, but it doesn’t require installing command-line tools.

Extract Images With pdfimages (Windows, Mac, Linux)

You can use the free ‘pdfimages’ utility fromPoppler to extract all images from a PDF file at once. It is a command line tool, but don’t worry, we’ll walk you through how to set up and use it. First, you need to download and install it, and that process varies by your operating system.

Poppler is alsoavailable to install on Windows through theChocolatey package manager, but the package didn’t work on my computer at the time of writing. Windows users can just use Acrobat Reader or follow the Linux instructions through theWindows Subsystem for Linux.

If you have a Mac, you need toset up the Homebrew package manager first. Next, open your Terminal application and poppler with the below command.

brew install poppler

If you have a Linux PC, you need to install the poppler-utils package, and it may already be installed. On Ubuntu and Debian-based Linux distributions, open the terminal application and run this command:

sudo apt install poppler-utils

Now that you have pdfimages installed, you can finally extract some images. This is the command to extract all images from a PDF file in their original format:

pdfimages -all example.pdf /output/directory/

If you want to extract all images and convert them to JPEG format, you can add the “-j” parameter like this:

pdfimages -all example.pdf /output/directory/

If you’re not used to the command line, the easiest way to do this is by typing “pdfimages -all” (without the quotes), then a space, then drag the PDF file into the terminal window, then type another space, then drag in the folder where you want the images to go. If there’s not an ending slash (a / character) after the folder, add it. Dragging in the folders and files will automatically fill in the path for you.

Extracting images from PDF in Mac terminal

Finally, run the command, and your images will be saved to the selected folder.


Those are two methods for extracting images from PDFs entirely on your own computer. There are some web services that can also do it, but they require uploading the file to a web server, which might not be a good idea if it contains private information.

Follow
Followed
Share
FacebookXWhatsAppThreadsBlueskyLinkedInRedditFlipboardCopy linkEmail
Readers like you help support How-To Geek. When you make a purchase using links on our site, we may earn an affiliate commission.Read More.
A MacBook surrounded by a gear symbol, a shield, an iCloud icon, and a password dots bar.
I made my Mac more secure by changing these 5 settings
A Chromebook keyboard with the search button as the center focus.
These 5 Chromebook tips save me tons of time in Google Docs
Two Linux penguins, one cheerful with a 'Love' button, the other confused with a 'Hate' button.
5 reasons people give up on Linux (and why it’s time to come back)
See More
The back of the OnePlus 15 sitting in grass and leaves.
The OnePlus 15 can finally be sold in the U.S.
A replacement battery for a Kindle third generation eReader.
It’s time to admit you can swap out internal rechargeable batteries yourself
Several smartphones arranged diagonally on a blue geometric background, each displaying a simple home screen with a solid black wallpaper
Black is the new best wallpaper for your phone
See More

[8]ページ先頭

©2009-2025 Movatter.jp